python 随机整数

 

# Program to generate a random number between 0 and 9

# import the random module
import random

print(random.randint(0,9))

 

posted @ 2018-11-19 19:54  anobscureretreat  阅读(175)  评论(0)    收藏  举报