I am brand new to Python!
If I run the following code on Python 2.7 by giving the input as 7 then it executes the If statement correctly (Expected Results).
However, If I run it using PyCharm or other editor which is using Python 3.6 binaries, then it always executes the else statement with the input of 7
print("Welcome to Guess the Number Game!")
userNumber = input("Enter the Number between 1 and 20: ")
randomNumber = 7
if (userNumber == randomNumber):
print("You got it!")
else:
print("Try again!")