Hello guys can u guys help me, What is wrong with my code
Hello guys can u guys help me, What is wrong with my code, it is giving me a syntax error at line 12 (guesstaken +=1) import random guessestaken = 0 name = str(input("What is your name?:\n")) number = random.randint(1,20) print(f"Hello {name} i have number in my mind between 1 and 20") print(number) while guessestaken < 6: guess=int(input("Guess a number between 1 to 20\n") guessestaken += 1 if guess < number: print("Too low") elif guess > number: print("Too high") else: print(f"Congrats {name} nahulaan mo ung number na nasa isip ko , it took you {guessestaken} guesses bago mo nahulaan") break print (f"{number} is the right answer") https://code.sololearn.com/ck7G12Ke2uFG/?ref=app https://code.sololearn.com/ck7G12Ke2uFG/?ref=app