|
Two questions about the homework: 1) I submitted the following answer for Homework 2.4 (blastoff):
The only difference from the solution in the video, is that I used "return" instead of "print" in the final line of the problem. My answers was marked incorrectly. Can you explain why print is correct, but return was an incorrect answer? 2) I was also marked incorrectly for the answer I submitted for Homework 2.6 "Find Last" - while slightly less elegant that the solution in the answer video, this appears to do the same thing. Can you explain why this solution below was marked as incorrect?**
Thanks - really enjoying the course. Hope you can take a look at these questions and provide some answers. Even if you are unable to change my grade, I would love to learn. David |
This was my solution and it returned as Correct! |