面试小题 01

用一行代码互换啊a,b的值

a = 1
b = 2
a,b = b,a
print(a,b)
View Code

猜你喜欢

转载自www.cnblogs.com/zly9527/p/11223165.html