I'm new to python working on a Raspberry pi. I'm trying to make a number guessing game based on user input.
Code:
Code:
num = int(raw_input("Pick a number: ")) While num != 4 : int(raw_input("Incorrect, pick again :)) #indented else : print("Good job") #indented exit #indentedError:
Error:While num != 4 :
^ invalid syntax