Mar-04-2019, 01:08 AM
(This post was last modified: Mar-04-2019, 01:46 AM by Jeff_Waldrop.)
Obviously, I am a newbie and I have something wrong....! Could you help me see what my error is?
Thanks,
Jeff
-------------------------
OK, so that code is wrong. I apologize for posting.
ADMIN, you can delete. I am not allowed to delete the original post.
Thanks,
Jeff
-------------------------
a = 100 b = 200 def swap(a, b): a = x b = y x = z b = x return swap (a, b) print (a) #Trying to get 200 print (b) #Trying to get 100
OK, so that code is wrong. I apologize for posting.
ADMIN, you can delete. I am not allowed to delete the original post.