Created
March 30, 2020 03:58
-
-
Save Celia-code/f2c69c2f220e3c4bce2a93f19defdba2 to your computer and use it in GitHub Desktop.
if條件語句
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
score = 85 | |
if score > 90: | |
print('優秀') | |
elif score > 80: | |
print('良好') | |
elif score > 60: | |
print ('及格') | |
else : | |
print ('不及格') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment