0

Basic Python Help

blox = 10 def bab(): for bob in blox: print(bob) blox = blox + 1 if bob >= 50: print("yes") else: print() print(bob + 1) if 10 == 10: bab() im a new python scripter but cant really find what is wrong besides the “Int is not callable” error.

4th Feb 2021, 7:56 PM
Ok6c
Ok6c - avatar
1 Antwort
0
for loop expect something iterable as in parameter. blox isn't as integer are not iterable...
4th Feb 2021, 8:01 PM
visph
visph - avatar