This is one of the first Python apps I created, built to help track my progress while studying a book. The idea is simple: enter the total number of pages in your book, input your current page, and get instant feedback on how far you've comeβalong with a randomly selected, positive affirmation to keep you motivated!
- Prompts user for total number of pages in a book
- Lets you enter your current page and calculates your reading progress
- Prints an encouraging message each time you check your progress
- Input validation to keep things user-friendly
- Option to quit at any time
π Total number of pages in the book: 350
π What page are you on? (type 'q' to quit): 120
You're at: 34.3%
DY-NA-MITE!!
π What page are you on? (type 'q' to quit): q
Goodbye and happy reading! π
I made this app to stay encouraged while reading a dense textbook. The positive phrases kept me going, and the progress check-ins helped me stay on track.
page_progress.py
β Main script containing all the logic
Make sure you have Python installed, then run:
python3 page_progress.py