Supply a condition in this if statement to test if the user entered a “Y”:


#1

Supply a condition in this if statement to test if the user entered a “Y”:
userInput = input(“Enter Y to quit.”)
if . . . // supply statement
print(“Goodbye”) // if the user entered “Y”


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.