Created
April 24, 2020 11:16
-
-
Save Celia-code/c92df27ff85707dde446de1a01a6683e 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
# 最大值 | |
print(max( | |
7, 5, 8, 6, 1 | |
)) | |
# 打印出:8 | |
# 最小值 | |
print(min( | |
7, 5, 8, 6, 1 | |
)) | |
# 打印出:1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment