Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

HOW MANY TOTAL WORLD WAR?

Answered: 1 week ago

Question

Discuss the scope of financial management.

Answered: 1 week ago

Question

Discuss the goals of financial management.

Answered: 1 week ago