Python生成0到9的随机数

import random
a=random.choice(range(10))
print(a)

 

posted @ 2020-06-28 18:44  ITester软件测试小栈  阅读(1958)  评论(0编辑  收藏  举报