Python Challenge

Feel free to talk about anything and everything in this board.
Post Reply
Amy
Green Beret
Posts: 3628
Joined: Mon Nov 17, 2008 6:22 pm
Location: Mota-Lev's house.
Contact:

Python Challenge

Post by Amy » Mon Aug 23, 2010 4:47 pm

Can anyone beat this?

http://www.pythonchallenge.com/


it's actually pretty fun.
MGM Sig
Mota-Lev wrote:Its like watching an Asian girl crush a cats brain through its eye socket with high heels.. Its horrible but I just can't look away :/.

tokage
Ranger
Posts: 1459
Joined: Sat Dec 06, 2008 4:28 pm
Location: Between the 'y' and 'i' keys.
Contact:

Re: Python Challenge

Post by tokage » Tue Aug 24, 2010 1:25 am

Got past first, but I have no idea about actual python. :/
Image

draconic74
Green Beret
Posts: 3470
Joined: Sat Jun 03, 2006 11:08 am
Contact:

Re: Python Challenge

Post by draconic74 » Tue Aug 24, 2010 1:57 am

Second is simply a shifted alphabet cipher. A->C, B->D, and so on. Not gonna take the time right now to solve it, but I'll look into it later. I assume the idea is to write a program to solve it? If so then I can only solve these on paper and calculator for so long. We shall see...
Image

TaxiService
Night Stalker
Posts: 6887
Joined: Thu May 24, 2007 5:52 am
Location: 41.896198, 12.4165945
Contact:

Re: Python Challenge

Post by TaxiService » Tue Aug 24, 2010 4:14 am

^ what he said.
  • TaxiService! Shitposting since 2007!
MGM Sig

(KHC) Shadow
SEAL
Posts: 527
Joined: Tue Jul 22, 2008 10:38 am

Re: Python Challenge

Post by (KHC) Shadow » Tue Aug 24, 2010 7:45 pm

Perhaps you should write a python program to solve this.. :D
Image

draconic74
Green Beret
Posts: 3470
Joined: Sat Jun 03, 2006 11:08 am
Contact:

Re: Python Challenge

Post by draconic74 » Tue Aug 24, 2010 10:44 pm

(KHC) Shadow wrote:Perhaps you should write a python program to solve this.. :D
Thats the point, really. I'll do it eventually, or end up solving it all by hand if need be.
Image

TaxiService
Night Stalker
Posts: 6887
Joined: Thu May 24, 2007 5:52 am
Location: 41.896198, 12.4165945
Contact:

Re: Python Challenge

Post by TaxiService » Tue Aug 24, 2010 10:49 pm

^ hah. :P for the second one would you use something like "for char, index in string, char == string.lowercase[index] + 4", or would you map all the characters one by one? o_o

DISCLAIMER: that code is just a draft!
  • TaxiService! Shitposting since 2007!
MGM Sig

(KHC) Shadow
SEAL
Posts: 527
Joined: Tue Jul 22, 2008 10:38 am

Re: Python Challenge

Post by (KHC) Shadow » Wed Aug 25, 2010 9:07 pm

I just did:

for (i = 0; i < string.length; i++)
{
newString.appendCharacter(string.character(i) + 2)
}
Image

Fonzeh
Ranger
Posts: 1894
Joined: Tue Oct 16, 2007 3:57 am
Location: "I didn't just take your mom out to dinner. I ate your mom for dinner."
Contact:

Re: Python Challenge

Post by Fonzeh » Fri Aug 27, 2010 8:31 am

I am suddenly angered by the fact that i know nothing about python, yet everyone else seems to. The fuck, brb time to learn.
G[v]N wrote:HUGE NOTIFICATION
THIS GRAVY HAS BRAINS
Mota-Lev was here 30/4/2010@2:18pm
Image

Mgalekgolo
Commando
Posts: 2589
Joined: Thu Jun 24, 2010 6:36 am

Re: Python Challenge

Post by Mgalekgolo » Fri Aug 27, 2010 8:35 am

Fonzie wrote:I am suddenly angered by the fact that i know nothing about python, yet everyone else seems to. The fuck, brb time to learn.
same here man
Yarok wrote:There may be a giant dildo protruding from your forehead.
Image

tokage
Ranger
Posts: 1459
Joined: Sat Dec 06, 2008 4:28 pm
Location: Between the 'y' and 'i' keys.
Contact:

Re: Python Challenge

Post by tokage » Fri Aug 27, 2010 9:33 pm

Haruhi Suzumiya wrote:
Fonzie wrote:I am suddenly angered by the fact that i know nothing about python, yet everyone else seems to. The fuck, brb time to learn.
same here man
Yes, but you know nothing about anything >:|
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests