Showing content from http://svn.python.org/projects/python/tags/release101/Lib/rand.py below:
# Module 'rand' # Don't use unless you want compatibility with C's rand()! import whrandom def srand(seed): whrandom.seed(seed%256, seed/256%256, seed/65536%256) def rand(): return int(whrandom.random() * 32768.0) % 32768 def choice(seq): return seq[rand() % len(seq)]
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4