首先!先import資源. import random. 默認生成數介於0~1之間 random.random(). 自己界定範圍: 整數. random.randint( 1, 10 ). 從範圍中,選出間隔為2 ...
確定! 回上一頁