Μετατρέψτε την απλή ενοτλή αντιμετάθεσης της Python
a, b = b, a
σε ισοδύναμη:
a = b temp = a b = temp
a = b
temp = a
b = temp
temp = a a = b b = temp
temp = a b = a b = temp
b = a
temp = b a = b a = temp
temp = b
a = temp