解法一 用中间变量去接受 a = ‘hello’ b = ‘world’ team = a a = b print(a) print(team) b = team print(a,b) 解法二 a = ‘hello’ b = ‘world’ a,b = b,a print(a,b)