It should look like: i = int(input("User input: "))
since you are asking for an integer, then 'user input' should be set as int. Your if statement is looking for a int value, not a string value, for just a quick fix you could do: if i == "5" as you can see I have strung the num value to a string value. This should now equal string to string.