1. 用一行代码交换a,b的值
a,b = 1,2 print(a,b) a,b = b,a print(a,b)
笔试面试题(待完善)
原文:https://www.cnblogs.com/xc-718/p/9632731.html