Testing Multiple values against a single variable in Python.
Oct 21, 2022 · 2 min read · I came upon a problem where I was getting a True value when trying to determine if it was a weekday or a weekend regardless of any of my input. The problem looked like this day = input("What day is it?:" ) if day == "Saturday" or "Sunday": print...
Join discussion

