Share your repls and programming experiences
This is definitely not dangerous.
instead of doing:
if D == 'yes':
if D == 'Yes':
if D == 'YES':
you can do:
if D.lower() == 'yes':
.lower() lowercases the string, so it would work if they put anything like yes or YES or YeS etc.
@RhinoRunner Thats extremelyyyyy usefull thank you! :)