Flag
correct = False
name = input("The name of this language: ")
if name == "Python":
correct = True
if correct:
print("The input was correct")
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
correct = False
name = input("The name of this language: ")
if name == "Python":
correct = True
if correct:
print("The input was correct")