无中间变量交接两变量值

无中间变量交接两变量值

class Solution:     def jiaohuan(self, a, b):         a = a ^ b         b = a ^ b         a = a ^ b         return a, b  if __name__ == __main__:     s = Solution()     a = 3     b = 107     t = s.jiaohuan(a, b)     for i in range(len(t)):         print(t[i], end= )