12 lines
274 B
Python
12 lines
274 B
Python
def years_until(age):
|
|
"""Return how many years remain until age 100.
|
|
|
|
The argument may arrive as an int OR as a string (like "25"),
|
|
so convert it to int first.
|
|
|
|
years_until(25) -> 75
|
|
years_until("7") -> 93
|
|
years_until(60) -> 40
|
|
"""
|
|
pass
|