An open API service indexing awesome lists of open source software.

https://github.com/wesfly/age-calculator

This program calculates the age of a given date
https://github.com/wesfly/age-calculator

Last synced: 4 days ago
JSON representation

This program calculates the age of a given date

Awesome Lists containing this project

README

        

# Age Calculator

This program calculates the age of a date.
**Please note that the days and months don't work properly yet.**

## How to use

1. **Run the Script**: Save the code in a file named `age_calculator.py` and execute it using Python:
```bash
python3 age_calculator.py
```
2. **Input Your Birthdate**: When prompted, enter your birthdate in `YYYY-MM-DD` format (e.g., `2020-05-15` for May 15, 2020).
3. **Output**:
- The program will display the age in years, months, and days.

**Features:**

This code provides a functional Age Calculator that is easy to understand and execute.