25
Stephen Chappell
http://www.google.com/+StephenChappell
Last seen 9 months ago
Member for 9 years, 10 months, 17 days
Difficulty Normal
I was born in 1985 and grew up as the son of a Baptist, church-planting missionary. As a result of living in the West Indies for so many years, I enjoy torrid weather with occasional hurricanes.
I am a Baptist. I believe that there is one God, that He is completely perfect, and that he has intended the Bible (specifically the KJV for the English-speaking people) to be his very words to those capable of understanding it. If something appears to contradict the Bible, then I must both question what I know from the Bible (to see if I misunderstand it) and seriously scrutinize over what seems to be a contradiction. If the case cannot be resolved, then I trust God's Word and reject the apparent contradiction. Like God, I assume that the Bible is completely perfect.
I am a human by design and a Christian by choice. My faith in God cannot waiver, and my mind is open to His truths and His works no matter how bizarre they may seem. Jehovah is my Father, and His banner over me is love.
What you just read may be a description of my religious background and stance, but as a child of God, it is the most important self-description I can possibly give. It is a definition of my identity.
You can accomplish the same more simply using a few tools built into the language.
# get words from each list
first_list = first.split(',')
second_list = second.split(',')
# convert to sets of unique words
first_set = set(first_list)
second_set = set(second_list)
# get w
More
Your use of a stop bit is rather clever. My first solution can only remember the last 47 moves, but yours can remember 2 more.
More
Your solution is nice and short! Something that it needs, though, is a
little documentation explaining what "left_join" does. There was also a
small PEP8 violation in your function: http://pep8online.com/s/y2fM3R8H
More
Great job on solving such an interesting problem! Your solution is pretty
good and amazed me to find not a single PEP8 violation in your code. The
only improvement that comes to mind is that you could add a little
documentation to your code if the future to explain it for both others and
yourself if
More
Nice use of bitwise operators in your code! It is impressive to find people
who actually know how to use them. However, you probably could have
documented your first function and run your code through a PEP8 checker:
http://pep8online.com/s/ekqeniKk
More
It was a pleasure reading your code. You documented the program, and it is
fairly clear in its implementation. The mission, on the other hand, still
reminds me of how difficult it was to solve.
More
You might consider this code to be clear, but it has 47 different style
guide violations for 35 lines of code. I would argue that there are more
problems since you are using CamelCase for non-class names but give you a
thumbs up for fairly easy-to-read code. Please validate your code next time
befor
More
Nice program! It is short, easy to read, simple to get through, and clear
in what it is doing. Congratulations on setting a good example to others by
including a documentation string at the top of your function!
More
Your code looks good. It is really nice to see someone using a class while
trying to write a solution. I would have voted even higher if there had
been some documentation explaining the code you provided.
More
Short, simple, sweet, and deserving of a good vote! The code that you have
is documented, and what you wrote appears to be PEP8 compliant.
Congratulations on completing this CheckiO challenge as well as you did!
More
Your code is fairly good and appears to be almost perfect but has a few
problems that make this unworthy of a +5 review. Your code does not have
sufficient documentation, could be simplified to return sum((from_date +
timedelta(days=day)).weekday() in {5, 6} for day in xrange((to_date -
from_date).d
More
Your code is easy to read and implements a classic, recognizable search
pattern. There are two things it lacks though: (1) documentation explaining
what your functions do and (2) PEP8 compliance to eliminate errors. Please
check your code next time before publishing your solution (you can go to
http
More
Your code is clear, but the documentation does not make sense. It looks
like your comments were left there and not changes from how you found them.
Please make sure your code is PEP8 compliant in the future:
http://pep8online.com/s/rpwbIATF
More
Looks good and simple but has some slight room for improvement. A
documentation string would be nice to describe the magic you are
performing, and there should be white space around the xor operator. See
the PEP8 online checker for details: http://pep8online.com/s/KBIjr8BQ
More