-2

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")
jonrsharpe
  • 115,751
  • 26
  • 228
  • 437

1 Answers1

-1

Delete the "break" and Def() Also review your grammer.