re: Write a function that shows off something unique or interesting about the language you're using VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

Same in Python

>>> [a, b] = [1, 999]
>>> a, b
(1, 999)
>>> [b, a] = [a, b]
>>> a, b
(999, 1)
 

Python has been on my mind lately. That's yet another good reason ;p

code of conduct - report abuse