When I run my code and guess the right number, the code doesn't work and says try again.
How do I fix it?
import random
number = random.randint(1,10)
print("Please enter your number down below")
yourguess = input()
if number == yourguess:
print("You guessed it")
else:
print("Try again")