Loading exercise...
Exercise: Join Path and Read
DimaG on April 4, 2026
The output for the first call is: This is a test text file number 1
The output of the second call: This is test text file number 1
Become a Member to join the conversation.

DimaG on April 4, 2026
Here is the another version of the same function using
pathlib.Path: