print("-----ROCK, PAPER, SCISSORS-----")
import random
computer=random.randint(1,5)
user=int(input("Enter Your Choice:\n1=Rock\n2=Paper\n3=Scissors\n4=Lizzard\n5=Spoc\n"))
print("the computer has chosen",computer)
if computer==user:
print("Tie Game")
elif computer==1 and user==3:
print("Computer Wins")
elif computer==2 and user==1:
print("Computer wins")
elif computer==3 and user==2:
print("Computer wins")
elif computer==4 and user==3:
print("Computer wins")
elif computer==4 and user==2:
print("Computer wins")
elif computer==4 and user==1:
print("Computer wins")
elif computer==5 and user==1:
print("Computer wins")
elif computer==5 and user==2:
print("Computer wins")
elif computer==5 and user==3:
print("Computer wins")
elif computer==5 and user==4:
print("Computer wins")
else:
print("You win")
Thats my code. I have five possible choices. However, when i type in the number 10 for my choice, i automaticly get a 'You Win'. How do I add a range so I can only allow five choices.