---
title: "Discussion on \"Testing Multiple values against a single variable in Python.\" | Hashnode"
description: "Discussion on \"Testing Multiple values against a single variable in Python.\". 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.\nThe problem looked like this\nday = input(\"What day is it?:\" )\n\nif day == \"Saturday\" or \"Sunday\":\n    print..."
url: "https://hashnode.com/posts/testing-multiple-values-against-a-single-variable-in-python/6453afa29e43ee634a62b267"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Testing Multiple values against a single variable in Python.](https://lethalsainth.hashnode.dev/testing-multiple-values-against-a-single-variable-in-python?utm_source=hashnode&utm_medium=feed)

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...

Oct 21, 2022 · 2 min read · lethalsainth.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)

## Written by

[Ik Okafor](https://hashnode.com/@LethalSainth)

@LethalSainth · Lagos, Nigeria

  
[View profile](https://hashnode.com/@LethalSainth)

Python Dev

Python Developer | Software Engineering Enthusiast | Mechatronics Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
