Discussion about this post

User's avatar
Jamie Rowland's avatar

Another amazing basic project for hobbyists trying to learn! Thank you very much - keep them coming 🙏

Expand full comment
Lukasz's avatar

import datetime

birth = int(input("Enter your birth date: "))

today = datetime.date.today()

date = today.year

age = date - birth

print(age)

Expand full comment
1 more comment...

No posts