When I type in John and 0 the "John is great" statement is not executed. I don't understand why.
I know that the question might be really simple but I checked the code in Java and it was working correctly.
print("Hello world")
myName = input("What is your name?\n")
myVar = input("Enter a number: ")
if(myName == "John" and myVar == 0):
print("John is great")
elif(myName == "Bob"):
print("You are ok")
else:
print("Hello world")