http://docs.python.org/library/random.html#random.random
random.random()¶
Return the next random floating point number in the range [0.0, 1.0).
import random
print random.random()
$ python -c 'import random;print random.random()'
'Programming' 카테고리의 다른 글
(Javascript) Math.random (0) | 2012.06.18 |
---|---|
(Visual Studio) Unable to find manifest signing certificate in the certificate store (0) | 2012.06.18 |
C++로 만든 코드 안드로이드로 마이그레이션 하기 (0) | 2012.06.17 |
Visual C++ “for each” portability (0) | 2012.06.16 |
The Secret of a Successful Programming Language? A Really Great Beard (0) | 2012.06.16 |