Message296614
Suppose I have two lists
L1 = [1,3,2,4], L2 = [1,3,2,4]
L1[1], L1[2] = L1[2], L1[1]
This gives me L1 = [1,2,3,4]
However, if I write
L2[1], L2[L2[1] - 1] = L2[L2[1] - 1], L2[1]
This gives me back the same L2 = [1,3,2,4]
I am not sure if this is a mistake ... If it is what it intended to do please tell me. |
|
Date |
User |
Action |
Args |
2017-06-22 05:38:51 | Ikaros | set | recipients:
+ Ikaros, ronaldoussoren, ned.deily |
2017-06-22 05:38:50 | Ikaros | set | messageid: <1498109930.97.0.653863984763.issue30729@psf.upfronthosting.co.za> |
2017-06-22 05:38:50 | Ikaros | link | issue30729 messages |
2017-06-22 05:38:50 | Ikaros | create | |
|