This is my code:
def main(subject):
subject = input("Which subject do you want to learn?")
if subject == English:
print("I glad to hear that!")
When I run python3 "File name.py" in Linux terminal, nothing happened.
I tried to define the "English" but I got a syntax error in the compiler.
Am I missing something in my code to run the if statement properly?
Aucun commentaire:
Enregistrer un commentaire