Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

back to contents

Python: random

↑ top




random

#!/usr/bin/python -u
import random

if __name__ == "__main__":
	random.seed(random.randint(0, 999))
	rv = random.uniform(-0.5, 0.5)
	print rv
	# 0.456034271889

↑ top