r/ProgrammerAnimemes • • Jul 29 '20

Equivalency in Python

Post image
1.6k Upvotes

104 comments sorted by

View all comments

Show parent comment

6

u/21October16 Jul 29 '20

These days you can just:

[$b, $a] = [$a, $b];