A simple Python script that calculates the total number of days a person has lived based on their birth date. Make sure you have Python 3 installed. Download or clone this repository. Run the script:python days_lived.py Enter your year, month, and day of birth when prompted. See the total number of days you’ve lived! Enter the year: 2000 Enter the month: 5 Enter the day: 15 The number of days you lived: 9145 Notes The program checks for invalid dates (like February 30) and will ask you to enter a correct date. Perfect for beginners learning Python and working with the datetime module. ✨ Features Beginner-friendly Python script Simple and easy-to-read code Demonstrates input handling and date calculations
-
Notifications
You must be signed in to change notification settings - Fork 0
punithk-verse/days-lived-calculator
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
A simple Python script that calculates the total number of days a person has lived based on their birth date.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published