#python help

20 messages · Page 1 of 1 (latest)

heady cipher
#

having trouble with a python, need some help. getting "TypeError: 'NoneType' object is not iterable" error when trying to iterate over a var. any ideas on how to fix this? thanks

lofty cipher
#

Show the code

heady cipher
#

my_variable = None
for item in my_variable:
print(item)

#

how to do code block

old venture
#

put 3 of these at the start and end of the code `

heady cipher
#
for item in my_variable:
    print(item)```
#

real

old venture
heady cipher
#

how

old venture
#
my_variable = None
for item in my_variable:
    print(item)
heady cipher
#

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

lofty cipher
#

also why didnt you ping me

heady cipher
sweet ingot
#

why does this feel like a troll question

heady cipher
heady cipher