Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Created April 24, 2020 11:12
Show Gist options
  • Save Celia-code/d1bcbcb1432d485988f1f137077c9d0a to your computer and use it in GitHub Desktop.
Save Celia-code/d1bcbcb1432d485988f1f137077c9d0a to your computer and use it in GitHub Desktop.
數值
# abs(num)
# 返回數字的絕對值
num = -10
print(abs(num))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment