Skip to content

Pratik180198/Age-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Age-Calculator

Take age or year of birth as an input from the user. Store the input in one variable. Your program should detect whether the entered input is age or year of birth and tell the user when they will turn 100 years old.

Here are a few instructions that you must have to follow: Do not use any type of modules like DateTime or date utils.

Users can optionally provide a year, and your program must tell their age in that particular year.

Your code should handle all sort of errors like:

You are not yet born. You seem to be the oldest person alive. You can also handle any other errors, if possible!

About

It is a Python program to calculate your age and to know your age at a particular year.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages