Skip to content

task done joaquin - #8

Open
jmedina237 wants to merge 1 commit into
Ironhack-data-bcn-oct-2022:mainfrom
jmedina237:main
Open

task done joaquin#8
jmedina237 wants to merge 1 commit into
Ironhack-data-bcn-oct-2022:mainfrom
jmedina237:main

Conversation

@jmedina237

Copy link
Copy Markdown

No description provided.

@ta-data-bcn

Copy link
Copy Markdown

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants