I want my Python code to accept both uppercase and lowercase input.
I've tried casefold, but with no luck. Any help?
advice =""
while advice !=("Yes"):
print("Would you like some advice!")
advice = input("Yes or No? ")
print("Always listen to your IT Teacher!")
I would like the input to accept Yes
and yes
as user input.