task done joaquin - #8
Conversation
|
Remember to review your errors! Especially in the first few weeks, most of your errors will come from small mistakes that you can fix easily. In question 2 you add key=len but you don't need it. Python is a good first programming language to learn because it tells you exactly what and where your error is: you can see the error in the red box that shows up when you try to run your code. In this case, the error handler pointed to line 2 and referenced 'key=len' as the problem. Error handling is a tedious part of programming, I know, but once you learn how to read the error messages everything gets easier. Small bugs are also hard to notice when you've been coding all day! When everything is failing for no reason, I would suggest taking a break for 5-10 minutes and then coming back to check your code with a fresh perspective :) Question 10: For 'check if...' questions we are looking for you to return True or False and once you 'return' something you don't have to break. Well done on the lab – this one was long. You can always send us a slack or come to ask us questions if you're unclear on something! |
No description provided.