Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started