Question: create a python function age_difference that takes two arguments: a father's current age f_age and his son's current age s_age. calculate how many years ago
create a python function age_difference that takes two arguments: a father's current age f_age and his son's current age s_age. calculate how many years ago the father was three times as old as his son or in how many years he will be three times old as old. consider the maximum age of human beings to be 120. print(age_difference(57,17)) => 3 years from now, the father will be 60 and son will be 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
