Created
May 30, 2012 21:05
-
-
Save AyumuKasuga/2838980 to your computer and use it in GitHub Desktop.
expiremantal generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all = '0123456789abcdefghijklmnopqrstuvwxyz' | |
l=len(all) | |
t=8248398492887 | |
r=list() | |
while True: | |
p,t=t%l,t//l | |
r.append(p) | |
if t<l: | |
r.append(t) if t is not 0 else None | |
break | |
r.reverse() | |
print ''.join(map(lambda x: all[x], r)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment