import random
randomNum=random.randint(1,9999)
print(randomNum)
userGuess=input("Please guess a 4 digit number, if you get it correct, we'll tell you, otherwise we will tell if you got any of the positions of the numbers correct\n")
if userGuess==randomNum:
print("Congratulations, you guessed the number correctly")
Why doesn't last line work after i enter the correct number? I don't think its indentation and I'm confused.