Day 37

Time allocated for study: 2 hours

Today’s Progress:

* Exceptions
* Handling the ZeroDivisionError Exception

* Using `try-except` Blocks

* Using Exceptions to Prevent Crashes

* The else Block

* Handling the FileNotFoundError Exception

* Analyzing Text

* Working with Multiple Files

* Failing Silently

Done tasks 10-6, 10-7, 10-8 and 10-10


Thoughts: Today was a great and productive day! In addition, I have read about the formatting of strings in Python:


The task 10-10 was simple, but I decided to make it a little more complicated. I am very satisfied with the result! 😎

Here is my code (the task 10-10).

In the comments you can see the description of the task.

Yes, I could also add a `try-except` block, to handle the FileNotFoundError Exception. But I'm tired. I'll add it tomorrow.


Sign in to participate in the conversation

Fosstodon is a Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.