-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
  • 107,083
  • 22
  • 201
  • 376

1 Answers1

-1

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