Quick actions

cmd+k|ctrl+k

Navigation

Languages

308. Excercise: Type Conversion

Snippet info

Language

Python

Visibility

public

Author

cslxuser

Created

2025-03-31T18:29:50.646194Z

Updated

2025-04-01T16:15:49.110456Z

#try:
    birth_year = input('What year were you born? ')
    age = 2025 - int(birth_year)
    
    
    print(f"your age is: {age})
###except EOFError:
    print("1984")
INFO