Jan-13-2021, 06:56 PM
(Jan-13-2021, 06:53 PM)bowlofred Wrote: This is a precedence issue. Your if statement is parsed as:
if (answer == "y") or ("Y"):Answer == "y" may not be true, but "Y" is always true. Your test should presumably instead be either
if answer == "y" or answer == "Y":THANK YOU!!!!
or...
if answer in ["y", "Y"]: