FAQ  •  Login

Level 3

Moderators: UncleTimmy, mjpieters

Enjoying the challenge? Need a hint?
Make a donation and help keep the site running! -thesamet
<<

mssever

Posts: 1

Joined: Sun Jan 06, 2008 10:57 am

Location: /dev/chair

Post Sun Jan 06, 2008 11:05 am

Hint is incorrect

The hint is incorrect. It says to look for the capitalized letters on each of the sides. It should say both or two. Each means each--i.e., all four sides:
  Code:
...X...
XXXxXXX
...X...

Each doesn't mean two:
  Code:
.......
XXXxXXX
.......
<<

parthiv_sk

Posts: 1

Joined: Sat Mar 15, 2008 5:29 am

Post Sat Mar 15, 2008 5:30 am

Done

Good practice of all the string fucntions req.
<<

J_Leno

Posts: 1

Joined: Thu Mar 27, 2008 10:43 am

Post Thu Mar 27, 2008 10:46 am

Re: Hint is incorrect

mssever wrote:The hint is incorrect. It says to look for the capitalized letters on each of the sides. It should say both or two. Each means each--i.e., all four sides:
  Code:
...X...
XXXxXXX
...X...

Each doesn't mean two:
  Code:
.......
XXXxXXX
.......



But look at the candles on the picture. They are surrounding 2 of all 4 sides...

I've got exactly 40 characters in the "2 of 4" mode.
Are there just 10 characters in "4 of 4" mode?
(mode, i mean surrounding characters)

EDIT: There is no need for 4of4 mode (the cross mode). I've got the true 10 characaters when i REMOVE the '\n' !!! My algorithm was right!

See you in Challenge 4(or above)
<<

arman

Posts: 2

Joined: Fri Mar 28, 2008 4:24 am

Post Fri Mar 28, 2008 4:39 am

i get about 800 results (for some reason my program has also output blank lines, single characters and triple charcters, but i do get mostly correct output) WHAT's going on! - i think it might be doubling up on some?
<<

arman

Posts: 2

Joined: Fri Mar 28, 2008 4:24 am

Post Fri Mar 28, 2008 4:56 am

doesnt matter, i removed them. so is in the 2X4 mode or the 4X4 mode?
<<

martix

Posts: 4

Joined: Mon May 12, 2008 11:24 am

Post Mon May 12, 2008 11:54 am

Damn it... all four sides...
I used only 2 sides and got 1348 characters.
Now I need to figure out how to get the up-down thing working. :)
Good thing the character count per line is constant, otherwise I don't know what I would do.
I'm not even sure if it would have been possible with python that way.
<<

AngelM

Posts: 2

Joined: Tue Jun 24, 2008 10:12 am

Location: Erlangen

Post Tue Jun 24, 2008 10:13 am

Ohh my god. If one can read he will win.
<<

donkey

Posts: 5

Joined: Tue Jun 24, 2008 12:59 pm

Post Tue Jun 24, 2008 1:03 pm

from 477 results to one?

I have an regexp that matches 477 results.

they are of the form:
XCVuMJK

so three big letters, one small, 3big.

i have tried making a word of all the small letter sbut it is just an incomprehensible mess.

what is the next step? is my regexp wrong or i need to do something with these 477 results?
<<

donkey

Posts: 5

Joined: Tue Jun 24, 2008 12:59 pm

Post Tue Jun 24, 2008 2:53 pm

wait i might have it.

if i find:
ABCDeFGH i currently match BCDeFGH but i shouldnt match this at all?
<<

donkey

Posts: 5

Joined: Tue Jun 24, 2008 12:59 pm

Post Tue Jun 24, 2008 3:05 pm

which gives me 833 if im correct which doesnt make sense since this obv should generate less hits...my 2nd regexp must be wrong.

can we get a hint of what the answer looks like? is it 10 characters long and a real word?
so i at least know that if get something like nfbdbvgfgbfdbgfjdbhfdbvfjb it is not correct.
<<

donkey

Posts: 5

Joined: Tue Jun 24, 2008 12:59 pm

Post Tue Jun 24, 2008 4:36 pm

wawrzek wrote:but how should i know to use more the ONE letters?


what do you mean?

-------------------------------------

anyway i changed it and now i got down to 7 expressions.

the 7 small letters dont form a real word even though first part of it does.
EDIT: actually the word is a 7char abbrevation that if googled will return some programming links, for example one Ubuntu-example. Is it correct but I am now entering it wrong?

enetering all 49characters do nothign and neither does entering just the 7. and not when changing to .php either.
<<

donkey

Posts: 5

Joined: Tue Jun 24, 2008 12:59 pm

Post Tue Jun 24, 2008 5:44 pm

wait lol so stupid i am.

hint: you are not looking for just the pattern that is the pattern you are looking for :)
<<

ul0402206

Posts: 2

Joined: Sun Oct 05, 2008 11:25 pm

Post Sun Oct 05, 2008 11:32 pm

I got 10 characters which look perfect. However, when I tried to http://www.pythonchallenge.com/pc/def/(word I got).html, just went to (myword.php) :x
Give the fist 6 characters: linked****
right or not?
<<

ul0402206

Posts: 2

Joined: Sun Oct 05, 2008 11:25 pm

Post Mon Oct 06, 2008 1:23 am

I got it:)
<<

Nea

Posts: 1

Joined: Fri Oct 10, 2008 11:10 am

Post Fri Oct 10, 2008 11:18 am

ok, ok now I'm gonna cry...

well, I have a doubt, can I find the answers checking only line by line?? or I must check everything just like be only one line??

what do you mean by import re??

[Edited: i got 37 letters...

Correction: uju!!!! see you on level 4!!!!]


see you then...
PreviousNext

Return to Python Challenge Hints

Who is online

Users browsing this forum: No registered users and 10 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.