import sys
from random import randint
for i in range(1, 7):
...

Python 6 bit password generator

by https://www.google.com/accounts/o8/id?id=AItOawl3BeAhTXKYDpKI7ld64fgVwaukoKGEuUo, September 04, 2011 04:17, 5 refactorings, tagged with random, python

I needed 6 random(ish) bits...

55502f40dc8b7c769880b10874abc9d0 Talk
from random import random as _
eval(compile("\n".join(
	["(lambda %s:" % (chr((121 - ((25 - (ord("z") - y)))))) 
...

Python Random number generator

by dbr, April 02, 2008 10:11, 9 refactorings, tagged with random, number

It works okay, but I think ...

Efdad317c297a2aee89ef435995dbdb6 Talk