Quick actions

cmd+k|ctrl+k

Navigation

Languages

Type Conversion Exercise

Snippet info

Language

Python

Visibility

public

Author

carlosjrangelsh

Created

2020-09-09T13:36:06Z

Updated

2020-09-09T13:37:22Z

# type conversion exercise

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

age = 2020 - int(birth_year)


print(f'your age is: {age}')
INFO