def test():
boo = True
enter = int(raw_input("Enter something: "))
if enter > 0:
boo = False
print "Did it work?!"
else:
print "Still working..."
while boo == True:
test()
test()
So this bit of code seems to only work if the first part of the if statement is met first try. aka if you enter -1 then 1 it continues to loop through the function. What am I doing wrong?