Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General Entertainment (https://www.cableforum.uk/board/forumdisplay.php?f=23)
-   -   A Little Brainteaser (https://www.cableforum.uk/board/showthread.php?t=34067)

Gareth 25-08-2005 02:05

A Little Brainteaser
 
Not sure if this is better suited here or elsewhere...

www.pythonchallenge.com

philip.j.fry 25-08-2005 09:52

Re: A Little Brainteaser
 
As if I didn't have enough work to do today, now my brains going round trying to solve those. :D Good find though, cheers Gareth

Nemesis 25-08-2005 10:58

Re: A Little Brainteaser
 
Got to

Spoiler: 
http://www.pythonchallenge.com/pcc/def/equality.html


Now stuck

philip.j.fry 25-08-2005 11:40

Re: A Little Brainteaser
 
Quote:

Originally Posted by Simon M
Got to

Spoiler: 
http://www.pythonchallenge.com/pcc/def/equality.html


Now stuck

Finished that one, just on the next one now.

Nemesis 25-08-2005 11:57

Re: A Little Brainteaser
 
Thing is I've done them so far without using code .....

philip.j.fry 25-08-2005 12:00

Re: A Little Brainteaser
 
Quote:

Originally Posted by Simon M
Thing is I've done them so far without using code .....

:disturbd:

You could be there a while with that one then. (I'm cheating and using Java)

kookook 30-08-2005 10:13

Re: A Little Brainteaser
 
if only was good in math I would be able to figure this out. ...

makikomi 30-08-2005 11:38

Re: A Little Brainteaser
 
I've got to level 4 (I think) but searching for a small letter with 3 big ones either side will take me ages and I don't know code.

I did the previous one using find and replace.

Dude111 21-09-2020 07:42

I couldnt even do the first one :D (I had to cheat and look up the answer)

I hope you guys like how I find good things and all...... They do on another VBB site im on and said keep it up :)

Take a look dues: www.cellar.org/showthread.php?t=6400&styleid=1

heero_yuy 21-09-2020 09:40

Re: A Little Brainteaser
 
That has to be one of the oldest necroposts. :nono:

tweetiepooh 21-09-2020 09:42

Re: A Little Brainteaser
 
Quote:

Originally Posted by makikomi (Post 565179)
I've got to level 4 (I think) but searching for a small letter with 3 big ones either side will take me ages and I don't know code.

I did the previous one using find and replace.

Not a Python coder but for regex

s/[A-Z]{3}([a-z])[A-Z]{3}/\1/

If the last 3 letters will be the same as the first then you can use a back reference.

s/([A-Z]{3})([a-z])\1/\2/

Chris 21-09-2020 12:04

Re: A Little Brainteaser
 
Quote:

Originally Posted by heero_yuy (Post 36050956)
That has to be one of the oldest necroposts. :nono:

I have no idea how he even dug this thread up, it’s not especially remarkable and it doesn’t top any way of listing threads (because it’s old, but nowhere near oldest, so you wouldn’t see it even if you sorted threads oldest first).


All times are GMT +1. The time now is 08:21.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum