a,b = b,a 처럼 간단하게 변수 swap 가능
a,b = b,a
>>> a, b = 3, 'abc' >>> print(a, b) 3 abc >>> a, b = b, a >>> print(a, b) abc 3
출처: https://programmers.co.kr/learn/courses/4008/lessons/12736