Skip to content

Instantly share code, notes, and snippets.

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