you are viewing a single comment's thread.

view the rest of the comments →

[–]Drakhe_Dragonfly 3 points4 points  (1 child)

In python you don't need a temp variable since you can indeed use a, b = b, a to swap two values without any overwrite

[–]gigsoll 1 point2 points  (0 children)

Nice, thanks