Does anyone know why I am getting a syntax error on the following code. This is not a python exercise on codecadamy, it is annother project I am working on .
while 1 != 2: guess = raw_input("Please enter your guess or exit: ") if guess.lower() == "exit": break if check(guuess) == True: num_of_guess+= 1 if cowbull(guess,gen_number) == True: print("Well done you have guessed in" + num_of_guess break
Getting a traceback on the break at the end.
Does anyone have any ideas.