Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Created April 24, 2020 11:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Celia-code/854f8fe8fdbe69072e44b5adf73d977d to your computer and use it in GitHub Desktop.
Save Celia-code/854f8fe8fdbe69072e44b5adf73d977d to your computer and use it in GitHub Desktop.
數值
# randint(x, y)
# 取[x, y]範圍之內的隨機整數
print(random.randint(1, 100))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment