Quick actions

cmd+k|ctrl+k

Navigation

Languages

Program to calculate age

Snippet info

Language

Python

Visibility

public

Author

ak.amita28

Created

2026-04-11T07:45:58.487827Z

Updated

2026-04-11T07:45:58.487827Z

birth_year = input('what year you were born?')

age = 2026 - int(birth_year)
print (f'\nyour age is : {age}')
INFO