a = 1 b = 2 a,b = b,a print(a+b)
a=1, b=2, 不用中间变量交换a和b的值
猜你喜欢
转载自www.cnblogs.com/bdua/p/12116361.html
今日推荐
周排行