# The Python Challenge

Submitted by: buddy 12 years ago in
81
http://www.pythonchallenge.com/

One of these URL fabrication games like Not Pron but with a programming twist.
81
Male 108
Again using very clunky code I`ve managed to get through 2, finding the rare letters. Again I think it`s something you could do by hand, laboriously.

Now for 3.

Male 108
And I`ve also solved the next one, the maketrans one, but I didn`t know how to use maketrans, so I wrote some of the most clunky, inelegant code ever, quite possibly, but it got the job done.

Of course, you can simply do it by hand, but it`s not really the point.

Onwards to Q2!

Male 108
Ah. the easy way:

>>> 2**38

Or, alternatively,

>>> pow(2, 38)

Male 108
I`ve stared to fiddle with Python (no that`s not a euphemism, get your mind out of the gutter).

I`ve not figured out how to get `to the power of`, given that I`ve been doing it for about five minutes, but here`s my first attempt which solves the first one.

(And yes, I know you can just do it on a calculator, but I`m entering into the pythin spirit)

>>> a, b = 2, 38
>>> while b > 0:
print a
print b
a, b = a*2, b-1

Male 108
This is a serious puzzle right here.

To save a lot of people the trouble, there`s no real point in just copying the answers from a spoiler page, and you`re unlikely to get anywhere if you can`t write programs, if not in python, at least in some language.

This should be a good little challenge, I think.

Male 1,059
i hope this helps you.o:-)
Male 1,059
you put in the answers right after the slash,and right before the .html
Female 212
where do u put answers this hing is really pissin me aff
Female 212
wot do u dooan these thiings i dont get this game ;(
Female 212
oklol im stuck oan 0
Male 3
Male 88
thats level 2, ocr.html is level 3, translate the deciphering the statement and you learn O=M, C=A, and r=P thus map=ocr change that and you GTG
Male 158
err...who knows where i`m at..it says"its a handy little function aint it?"on the page.
Male 345
Whats the username and pw for 9 and 10?
Female 125
how are you getting those?
Male 47
Male 47
Male 926
thanks
Male 47
Male 47
Male 47
Male 926
im on the next one do you have hints on that?
Male 47
ok hints

level 0: just 2^38
Level1: http://www.pythonchallenge.com/pc/def/oc...

Male 926
im stuck on 2(the one with the book) it says about the source but it wont let me read it
Female 73
Kind of a spoiler for level 3:(I`m not sure if it is, but I don`t want to piss people off who don`t want too much help...)
/
/
/
/
/
Use a program like Word or Works. Make sure the jumble is grammatically correct with a checker. You`ll find what you`re looking for in each segment.
Male 36
Page number 3, the one with the candles... any idea? I don`t know what to look for in the big jumble, and I might delete what I`m looking for on accident.
Male 374
oh and 2 to the power of 38 isnt 2 with 38 0`s
Male 374
lol, you have to actually DO the sum: 2 to the power of 38... some people are just not worth the oxygen...
Female 125
so level 3.... huh?!

I don`t actually know python at all, so this is hard. I`m stuck on level 3.

Female 125
88888
Female 2
I no i will sound dumb(then again im blonde!)
I cant figure out lv0,Ive tried 2**38, 2tothepowerof38,2 to the power of 38, 2000000000000000000000000000000000000000 and 238. HELP!
Female 18
I`m stuck on 3 i`ve tried zooming in the pic but no luck. Any tips?
Male 10
I got 3, I used word
Male 329
i hope i can find a good program to help me with level 3, its insane
Male 329
***** This is What The Encrypted Text Says *****

i hope you didnt translate it by hand. thats what computers are for.
doing it in by hand is inefficient and that`s why this text is so long.
using string.maketrans() is recommended. now apply on the url

Male 88
well on the next one
Male 88
use decrypto to solve
Female 132
ok sory i dont fink im even that far yet im on the e-g k-m o-q one,
Male 88
its all about python.....you can decode it with a cryptogram decoder, which basically says the answer is maketrans (the ma_etrans in the line) BUT that appears to be wrong and you need to use convert MAP to the crypto (I think) but I can`t figure out how to use strings.maketrans()
Female 132
can ne1 give me a clue/hint for #2 ive bin on it for ages
Female 132
i no u all probs have but has ne of u dun level 2 yet
Female 132
god level 2 looks way confusing
Female 132
thankou x x x
Male 1
***spoiler***
It`s 2 to the power of 38.
Female 132
it just cums up with aload of stuff from the bible????
Female 132
cheers, how`du no there was 2 space afta the 2
Male 14
The first one is quite easy. Search for 2**38 on google.
Female 132
Okay im not great at theese sorta games but i can always at least get past level 1 help ne body!!!
Male 88
I cant figure out python enough to get past 1 though.
Male 88
heh atleast I got past page zero ;P
Female 147
ok i have a feeling im gonna suck at this one because I cant even get the first one! usually Im pretty good at these kinds of games...
Male 10,115
Link: The Python Challenge [Rate Link] - One of these URL fabrication games like Not Pron but with a programming twist.

:-)