Question: Python 3: Problem When Nathan was X years old, Orion was a quarter of a half of his age. Now Nathan is Y years old.
Python 3:
Problem
When Nathan was X years old, Orion was a quarter of a half of his age. Now Nathan is Y years old. What is Orion's current age?
Input
The first line contains Nathan's earlier age.
The second line contains Nathan's current age.
Output
Print out Orion's current age. Make sure age is a whole number.
Sample Input
8 24
Sample Output
17
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
