Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # function_like_random.py -- impractical fun
- import time
- def rnd(min=0,max=0):
- if not max:
- max=min
- min=0
- elif min<max:
- max-=min
- t=int(int(''.join([str(time.clock())[6:] for z in 'x'*6]))*time.clock())
- x=t%(max+1)+min
- return x
- print('***')
- print
- for z in 'z'*50 :
- print(rnd(80, 100))
- print
- for z in 'z'*30 :
- print(rnd(int('9'*16)))
- print
- for z in 'z'*80 :
- print(min([rnd(5000) for z in 'x'*9]))
- print
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement