Last active
August 1, 2019 04:45
-
-
Save nekoppy/be2a655e41df79d7a56bbf3aed56b548 to your computer and use it in GitHub Desktop.
if-elif-else tempurature
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
temp = 33 | |
if 25<=temp: | |
print("夏日です。") | |
elif 30<=temp: | |
print("真夏日です。") | |
elif 35<=temp: | |
print("猛暑日です。") | |
else: | |
print("上着が必要かもしれません。") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment