str = (suffix == None) if 'sss' else suffix 来源:oschina链接:https://my.oschina.net/u/988783/blog/791813 标签 pyhton 三元