why do I get syntax error on if <code>: break
asa32sd23 at gmail.com
asa32sd23 at gmail.com
Thu May 24 22:12:33 EDT 2018
here is the code, i keep getting an error, "break outside loop". if it is false just exit function
def d(idx):
if type(idx) != int:
break
d('k')
More information about the Python-list
mailing list