微信扫一扫
str_test = 'test' str_test += ('', '_y')[-1] # 'test_y' ok # 'a' += 'b' # SyntaxError 只有变量可以赋值
相关推荐