Skip to main content

A VERY BASIC AGE CALCULATOR BY HB

Project description

HB AGE CALCULATOR

THIS IS A SIMPLE AGE CALCULTOR MODULE YOU CAN EASILY USE IT

Installation

pip install hbagecalculator

Usage

# INPUT METHOD (TO GET YEAR)
import hbagecalculator
import datetime
Year = int(input("ENTER THE YEAR YOU WERE BORN : "))
age= datetime.datetime.now().year-Year
print("YOUR ARE ", age, "YEARS OLD")

Project details


Release history Release notifications | RSS feed

This version

8

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hbagecalculator-8.tar.gz (1.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page