Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

HOMEWORK: SEXYCODE CONVERTER

Name: Anonymous 2010-06-09 17:59

#!/usr/bin/python
#
#                 Instructions.py
#
#       the goal is to take something like
#               This snip of bbCode
#       and return something like
#               {i this bit of Sexpcode}
#
#
#

nrFromDg = lambda dg: sum(((ord(dg[x])-ord('a')+1) * (26 **(len(dg)-x-1)) for x$

x =  nrFromDg("x")
print x
a = nrFromDg("a")
print a
r = nrFromDg("r")
print r
n = nrFromDg("r")
print n

xarn = x + a + r + n

print "xarn" + str(xarn)

print "Days until completion: "+ str(xarn/24)
print "Any language is acceptable: see Xarn's blog for the current fashion of fag-ramming.

Name: Anonymous 2010-06-09 19:34

perl -pe 's/\[([^\]]+)](.*?)\[\/\1\]/{\1 \2}/g;'

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List