21
Josh Smith
Last seen 3 years ago
Member for 9 years, 7 months, 14 days
Difficulty Normal
I'm a Mechanical Engineering major that discovered that I like programming. My favorite part of programming is taking what I know and solving a problem with it. Around 2009 I started teaching myself to code using VBA in Excel, then I added a programming minor two years later.
Wow. Several nice things here. I liked the addition of N and E to the init, as well as the re-naming of WE and NS. Also, I learned something new from your corners(). I can guess what product() does, but I"ll have to look into getattr().
More
Nice solution. I think that your while loop is cleaner than my [for loop](http://www.checkio.org/mission/bird-language/publications/AQiccl135/python-3/first-bird-language/).
More
Nice! This solution is the complement of [Big312](http://www.checkio.org/mission/how-much-gold/publications/big312/python-3/short-solution/)'s. You added all the non-golds together, and he added all the gold-x pairs.
More
I really like how you reference each cell in recall_password(). I also think you did a great job on the rotation code. I was trying to do it manually, but I couldn't figure it out. Congrats for pushing through and not taking the easy way out.
More
Thanks to [Josh Lee](http://stackoverflow.com/questions/2158395/flatten-an-irregular-list-of-lists-in-python?lq=1) for the algorithm
More
Very nice! Clear, compact, creative, and efficient. Me Likey.
One question: what does the 'r' do in the findall?
More
v1.1—added extra data to the grid to determine if a cell should be over-written. (lines 12 and 18)
v1.2—added a row to tall to ensure that len(set) was edited correctly for single building cases. (lines 10 and 21)
v1.3—narrowed building width to ensure space between buildings (line 16)
More
Nice. My code looked like this before i [tweaked it](http://www.checkio.org/mission/spaceship-landing-strip/publications/AQiccl135/python-3/first-spaceship-landing-strip/).
More
......???...?? (<== me reading line 8) !!! Oh! Is that a comment (or the equivalent) in the list comprehension?
More
This is my first publishing in Speedy. I avoided hashlib.new() since the [docs](https://docs.python.org/3.3/library/hashlib.html#hashlib.new) said "The named constructors are much faster than new() and should be preferred."
More
Oh. My. ............. Wow.
Did you test what score you would have gotten for a golf mission?
More
This is my first lambda solution. The biggest hangup I had was with the range. Since I didn't know that range doesn't include the last value, I told it to go to len(a)-1.
Thanks to [Blastus](http://www.checkio.org/user/Blastus/) for helping me out.
More
Oops, I left a debug statement in there. Ignore the print(current).
More
Note the text.lower() outside of the for loop. This saves time by calling the lower() function only once.
More
Sleek and concise. I had to re-read the tens- and ones-place code to take in the sheer power of your simplicity. If there were a clever and clear category, I would say that this code belongs in it.
More
WOW! Here I was trying to write the whole function myself. Then I looked at Bryukh's hint and was like, "Really??! I can do that?!!"
Totally Sweet!!! Thanks for the hint Bryukh.
More
Reminder to self, range(x) goes from 0 to x-1. I've been working on this for a couple weeks, and all I had to do was change range(2) to range(3) in the middle check.
More
I only knew about zip() from the Electronic Station -> Weak Point mission. Otherwise, I might just have done it manually.
*whew for the close miss*
More