Message360015
No problem! If you are trying to swap the values in two variables `x` and `y`, in most languages that's spelled:
temp = x
x = y
y = temp
and that works in Python too. But in Python it's more common to do it with a one-liner:
x, y = y, x |
|
Date |
User |
Action |
Args |
2020-01-15 00:40:44 | tim.peters | set | recipients:
+ tim.peters, Y3Kv Bv |
2020-01-15 00:40:44 | tim.peters | set | messageid: <1579048844.65.0.53326658881.issue39338@roundup.psfhosted.org> |
2020-01-15 00:40:44 | tim.peters | link | issue39338 messages |
2020-01-15 00:40:44 | tim.peters | create | |
|