标签:试题 style bsp print span nbsp div col pre
1.用一行代码令a,b的值互换
a,b = 1,2 print(a,b) a = 1 b = 2 a,b = b,a #面试题 print(a,b) a,b = [1,2],[2,3] print(a,b) a,b = (1,2) print(a,b)
标签:试题 style bsp print span nbsp div col pre
原文地址:https://www.cnblogs.com/nanguajiejie/p/10124262.html