BookBot is my first Boot.dev project!
- It reads the entire contents of a
.txtfile. - It can count the total number of words of a file.
- It can count the number of characters of a file.
- Create a
booksdirectory. - Save the sample
*.txtfile inside. - Then run the program.
$ python main.py books/frankenstein.txt
count_words(contents)count_characters(contents)