Why is this not working?
def main():
while True:
a = input('Guess: ')
if a == 5:
print("yes")
elif a == 10:
print('yes')
elif a == 20:
print("no")
break()
else:
print("erro")
Why is this not working?
def main():
while True:
a = input('Guess: ')
if a == 5:
print("yes")
elif a == 10:
print('yes')
elif a == 20:
print("no")
break()
else:
print("erro")