數值
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
import random | |
# random() | |
# [0, 1)範圍之內的隨機小數 (p.s:可以取到0, 取不到1) | |
print(random.random()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment