Login Register


Code Golf Challenge #1 - Thue-Morse Sequence filter_list
Author
Message
RE: Code Golf Challenge #1 - Thue-Morse Sequence #9
(08-14-2015, 09:40 PM)eclipse Wrote: Edited my entry.


Ahh, sorry. It's instinctive. I guess security isn't much of an issue.

No worries Smile

I'll give you a few more hints Smile
  • If you make that for into a while, you can make that loop a one-liner (think list comprehension). The while will not make it shorter, just ensure it actually finishes timely.
  • String slicing doesn't need a 0 placeholder.

(08-14-2015, 09:40 PM)eclipse Wrote: Edited my entry.


Ahh, sorry. It's instinctive. I guess security isn't much of an issue.

EDIT: 86?! How?

It's actually down to 75 now Tongue To be fair, I have practice golfing, you don't Smile A few of the tricks I'm using aren't stuff that would be common knowledge/practice to a lot of people.
(This post was last modified: 08-14-2015, 09:55 PM by Shebang.)
[Image: CDUAq9d.png]

Reply





Messages In This Thread
RE: Code Golf Challenge #1 - Thue-Morse Sequence - by Shebang - 08-14-2015, 09:44 PM



Users browsing this thread: 1 Guest(s)