Skip to content

A simple Python script that calculates the total number of days a person has lived based on their birth date.

Notifications You must be signed in to change notification settings

punithk-verse/days-lived-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

days-lived-calculator

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

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

No packages published

Languages