Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Created April 24, 2020 11:39
Embed
What would you like to do?
數值
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