numbers = [1,2,3,4,5,6,7]
x = input()
if x in numbers:
print("Hey you did it")
else:
print("Nope")
I'm not sure what I'm doing wrong here, but it always tells me that my number is not in the list.. even though it is. Works fine with strings, though.
Help would be appreciated. Thanks!