同时互换a,b

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

 

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