Followers
0
Following
0
Joined
Last Online
-
-
Nitrous9123
I run into the problem of trying to mimic the location module Pythonista has in Pyto. Any thoughts?
-
Nitrous9123
@JonB said:
a=[1,2,3]
b=a
b.append(4)
a
[1, 2, 3, 4]I had a similar problem so I change the a to a tuple and the copied it to b. I needed to pop() from b but keep a unchanged so I can reset it to b at start over in my script
a=(1,2,3)
b=list(a)
b.append(4)
a
[1, 2, 3]