Answers for "how to use an if and and an or in python"

1

or in if statement python

weather == "Good!" or weather == "Great!": 

# Or the following  

weather in ("Good!", "Great!"):
Posted by: Guest on April-03-2021

Code answers related to "how to use an if and and an or in python"

Python Answers by Framework

Browse Popular Code Answers by Language