#python help
20 messages · Page 1 of 1 (latest)
Show the code
put 3 of these at the start and end of the code `
do this to make it even cooler
how
my_variable = None
for item in my_variable:
print(item)
my_variable = None
for item in my_variable:
print(item)
does not copy
my_variable = None
for item in my_variable:
print(item)
I get it now
you cant iterate through None
also why didnt you ping me
ok
why does this feel like a troll question
I felt that too
im assuming there is code that assigns my_variable to somthing else so you can just use an if statement to check