Created
April 24, 2020 11:39
-
-
Save Celia-code/0b83a98af9ee4025d23576c889b3bf45 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
import random | |
# choice(seq) | |
# 從一個序列中, 隨機取一個數值 | |
print(random.choice((1, 3, 8, 7))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment