I feel stupid for asking this question but I have no idea why this isn't working. It keeps showing incorrect for every time I run the program
import random
print("Pick a number 1-2")
ry = input()
nmr = random.randrange(0,2)
if ry == nmr:
print('congrats')
else:
print('Incorrect')
if ry not in '1,2':
print('Invalid Input - * 1-2 Input requested* ')