同时互换a,b

a=1
b=10
a,b=b,a
print(a,b)#10 1

 

posted @ 2023-07-09 13:33  胖豆芽  阅读(14)  评论(0)    收藏  举报