Level 1
Moderators: UncleTimmy, mjpieters
Enjoying the challenge? Need a hint?Make a donation and help keep the site running! -thesamet
69 posts
• Page 4 of 5 • 1, 2, 3, 4, 5
"lmu ynnjw ml rfc spj."
That's the solution: ynnjw ml rfc spj
fqp'v vta pqvjkpi gnug

fqp'v vta pqvjkpi gnug
wrote rediculas code and it still dont work
i wrote code to replace letters
reps = {'a':'c','b':'d','c':'e','d':'f','e':'g','f':'h','g':'i','h':'j','i':'k','j':'l','k':'m','l':'n','m':'o','n':'p','o':'q','p':'r','q':'s','r':'t','s':'u','t':'v','u':'w','v':'x','w':'y','x':'z','y':'a','z':'b'}
and a function to replace the lettrs
def replace_all(text,dic):
for i,j in dic.iteritems():
text = text.replace(i,j)
return text
but when i try it it only replaces 1 character
txt = replace_all(aString,reps)
am i doing something wrong
reps = {'a':'c','b':'d','c':'e','d':'f','e':'g','f':'h','g':'i','h':'j','i':'k','j':'l','k':'m','l':'n','m':'o','n':'p','o':'q','p':'r','q':'s','r':'t','s':'u','t':'v','u':'w','v':'x','w':'y','x':'z','y':'a','z':'b'}
and a function to replace the lettrs
def replace_all(text,dic):
for i,j in dic.iteritems():
text = text.replace(i,j)
return text
but when i try it it only replaces 1 character
txt = replace_all(aString,reps)
am i doing something wrong
There's one more hint... THE URL IS CASE SENSITIVE!
I did all the hints told me but because the case-sensitive nature of the URL, it got me 404 error ( I TYPE IT WITH UPPERCASE LETTER ANYWAY)... took me about 30min just to figure it out... geezz... what a waste of time.... should be on the hints anyhow...
I did all the hints told me but because the case-sensitive nature of the URL, it got me 404 error ( I TYPE IT WITH UPPERCASE LETTER ANYWAY)... took me about 30min just to figure it out... geezz... what a waste of time.... should be on the hints anyhow...
Re: Level 1
Wow, I'm terrible at this shit.
Re: Level 1
I could solve this level without even using python. It's VERY simple, if you managed to solve level 0 you got to use in this pretty much the same procedure.
Re: Level 1
This challenge was really annoying to me, probably because I'm a huge novice that generally doesn't know how to use the nifty built-in or importable functions, even after I read the documentation.
If you manage to decipher the gibberish text at the bottom of the page, you've essentially done the pedagogical part of the challenge. It's all about mapping one set of characters to another set, and it seems reasonably difficult given that it's only the 2nd challenge :p (espcecially for noobs like me).
The annoying part of this challenge is figuring out from the deciphered text what the author wanted you to use your code to DO. So, if you've already figured out how to decipher that text, try deciphering this text for a hint:
qmkc ncmnjc kyic y bgqrglargml zcruccl 'dgjclykc' ylb 'dgjc cvrclqgml'
If you manage to decipher the gibberish text at the bottom of the page, you've essentially done the pedagogical part of the challenge. It's all about mapping one set of characters to another set, and it seems reasonably difficult given that it's only the 2nd challenge :p (espcecially for noobs like me).
The annoying part of this challenge is figuring out from the deciphered text what the author wanted you to use your code to DO. So, if you've already figured out how to decipher that text, try deciphering this text for a hint:
qmkc ncmnjc kyic y bgqrglargml zcruccl 'dgjclykc' ylb 'dgjc cvrclqgml'
Re: I have no idea about this, can you publish an answer! Th
viniciusban wrote:Hi all.
I could solve this problem.
The worst part is not translating the text. It's is to discover what to type in the URL to achieve next level.
Let's think: we applied one logic to translate the text, ok? The key to translate the text IS NOT the function name author suggests when you type it at the URL. This is just a suggestion.
The key is to apply THE SAME logic ON THE URL.
Question: What is our URL, in this case?
Answer: The last part of it (everything after the last slash and before the file name extension).
Try it and you'll see an acronym to a software technology.
I didn't like it, too. But it's the game rule.![]()
I almost gave up!
Re: Level 1
I was able to figure out what to do pretty quickly. But then trying to translate it in python took quite a while since I'm new to python. I guess I'd prefer hints in how to program it as well. I had to do a bunch of searching around to find out about chr() and ord() and str().
And then I saw in the final solution it was done a completely different way.
I realize this is part of the learning process, but It would be nice to have a push in the right direction.
And then I saw in the final solution it was done a completely different way.
I realize this is part of the learning process, but It would be nice to have a push in the right direction.
Re: Level 1
dardub wrote:I guess I'd prefer hints in how to program it as well.
...
I realize this is part of the learning process, but It would be nice to have a push in the right direction.
Which Python tutorials have you read? There are lots of very good tutorials:
http://learnpythonthehardway.org/
http://docs.python.org/tutorial/
I've never tried these, but they look neat:
http://en.wikibooks.org/wiki/Non-Programmer's_Tutorial_for_Python_2.6
http://www.pyschools.com
Re: Level 1
I translated everything by hand, and when I found out what the text meant...
hint : in the encrypted text it says to do not try to translate the text by hand xD... that was a huge spoiler, so I'll refrain from posting on this thread.. for now...
hint : in the encrypted text it says to do not try to translate the text by hand xD... that was a huge spoiler, so I'll refrain from posting on this thread.. for now...
Re: Level 1
DotCom wrote:I translated everything by hand, and when I found out what the text meant...
hint : in the encrypted text it says to do not try to translate the text by hand xD... that was a huge spoiler, so I'll refrain from posting on this thread.. for now...
Don't do it by hand!
Rote, mechanical processes are not supposed to be done by humans! That's what we have computers for, they're great at doing this kind of thing. Remember this advice for level 4.
Re: Level 1
This was the most misleading thing for me
"sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj. "
I thought it was telling me to
"ynnjw qrpgle.kyicrpylq()" to the "spj"
that's where I got really confused...
what was the point of doing a
qrpgle.kyicrpylq("http://www.pythonchallenge.com/pc/def/map.html", string2)
this was very confusing. I eventually got it. Please try to clean up the ambiguity there.
"sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj. "
I thought it was telling me to
"ynnjw qrpgle.kyicrpylq()" to the "spj"
that's where I got really confused...
what was the point of doing a
qrpgle.kyicrpylq("http://www.pythonchallenge.com/pc/def/map.html", string2)
this was very confusing. I eventually got it. Please try to clean up the ambiguity there.
Re: Level 1
Hi!
I feel like this is a mathematics thing, and I don't believe it's logic... I'm thinking that the arrows are functional notation, correct? I am in Algebra II/Trig; should I know this? If not, could you perhaps explain?
Thanks!
I feel like this is a mathematics thing, and I don't believe it's logic... I'm thinking that the arrows are functional notation, correct? I am in Algebra II/Trig; should I know this? If not, could you perhaps explain?
Thanks!
Re: Level 1
Rasseru77 wrote:I feel like this is a mathematics thing, and I don't believe it's logic... I'm thinking that the arrows are functional notation, correct? I am in Algebra II/Trig; should I know this? If not, could you perhaps explain?
Misfire? This is the level 1 board, not 100% sure what you're asking about
69 posts
• Page 4 of 5 • 1, 2, 3, 4, 5
Return to Python Challenge Hints
Who is online
Users browsing this forum: Google [Bot] and 4 guests
