0
How to use "AND" "OR" in Python's input function?
This is error why? A = input("Enter 1 neighbouring planet of earth") if A =="Venus" or "Mars": print ("Congratulations you are right") else: print("Sorry you are wrong")
3 Réponses
+ 2
if A =="Venus" or A=="Mars":
+ 9
There’s a correction in if statement:-
if A==“Venus” or A==“Mars”:
+ 1
Really? I’ve ran this program successfully...