This is my first course in coding and I don't really know how to use file=sys.stderr correctly.
I am trying to get a y or n input from the user and only have the error message show when the answer is neither of those.
This is my code:
aches = input("Aches (y/n): ")
if aches != 'y' or 'n':
print ("Error!",file=sys.stderr)
aches= aches.casefold()
Thank you!