9
Andrew Young
Last seen 8 years ago
Member for 9 years, 3 months, 7 days
Difficulty Normal
on line 5, you don't need len(i),
queue += i[-1]
works exactly the same as what you have
More
Your code is good!
It would be more readable with fewer(if any) comments. Comments should be used sparingly to add insight into your reasoning rather than to explain every step of your logic.
More
H, M = map(int, time.split(":",2))
This is a really cool way of getting at the time values!
More
I didn't know about the // operator before I saw this. Much cleaner than using
int(num/10) % 10
More
So I have a question about my own solution, and would appreciate an explanation from any knowing passerby...
On line 5 I use list.reverse() on the word list. I did this because I kept failing the 'Beard and Bread' test. The thing is 'beard' and 'bread' should have the same score, so why is one more
More