Created
August 1, 2019 05:10
-
-
Save nekoppy/732e8299a312b2fbf9fd303fc61cf597 to your computer and use it in GitHub Desktop.
if-elif-else-input-Exercises
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
text = input('テストの点数は?') | |
point = int(text) | |
if point >= 80: | |
print('優') | |
elif point >= 70: | |
print('良') | |
elif point >= 60: | |
print('可') | |
else: | |
print('不可') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment