+ 1
Why it doesnt functions!?!?
x = (input("Enter something: ")) if x = ("Hi") : print("Helo") else: print("Nope")
3 Answers
+ 7
if x == "Hi":
You used the assignment operator instead of the comparison.
+ 2
thnx
x = (input("Enter something: ")) if x = ("Hi") : print("Helo") else: print("Nope")