Python 十个加快编程效率的技巧(tricks) 解决方案 1.交换两个数字 x, y = 10, 20 print(x, y) x, y = y, x print(x, y) 输出 10 20 20 10 2.… Python实用宝典 2019年10月23日 6.19K 0 11