3. random.randint(). random.randint()是隨機生成指定範圍內的整數,其有兩個引數,一個是範圍上限,一個是範圍下線,具體用法如下:. import random.
確定! 回上一頁