Quick actions

cmd+k|ctrl+k

Navigation

Languages

Excercise: Type Conversion

Snippet info

Language

Python

Visibility

public

Author

aldenvidal25

Created

2025-08-27T08:50:37.991348Z

Updated

2025-08-27T08:50:37.991348Z



birth_year = int(input('What year were you born?:'))

current_year = 2025
age = current_year - birth_year

print(f'Your age is {age}')
INFO