Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # b_function_like_random.py !!! just a fun project... not recommended
- import time
- import re
- def rnd(min,max=0):
- t=re.sub("\D", "", str(time.clock())[4:])
- t=int(t)
- if not max:
- if min:
- max=min
- min=0
- else:
- max -= min
- x=t % (max+1) + min
- return x
- def p(z):
- print z
- print
- while 1 : p(rnd(50000))
- print "*"*50
- for z in 'z'*200 : p(rnd(50,100))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement