close
random number generator:
for interger:
import random
n=random.randint(1,100) %give integer random number in the range [1,100]
print n
for real:
n=random.random() %give real random number in the range [0,1)
全站熱搜
留言列表