Last active
August 28, 2023 20:03
-
-
Save mcsee/1f5d0d7328e2e49f0695323e6c210c3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virus = ['MERS', 'SARS'] | |
vaccines = [] | |
if vaccines: | |
print ("let's get vaccinated") | |
else: | |
print ("There are no vaccines yet. Keep researching") | |
if virus: | |
print ("There are some virus around. Take extra care") | |
else: | |
print ("You are free to get out. Not masks are necessary") | |
# equivalent | |
if not vaccines: | |
print ("There are no vaccines yet. Keep researching") | |
else: | |
print ("let's get vaccinated") | |
if not virus: | |
print ("You are free to get out. Not masks are necessary") | |
else: | |
print ("There are some virus around. Take extra care") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment