Question: Jump to level 1 Compute: d = b 3 + c 2 Click here for example Ex: If the input is: 2 . 0 4

Jump to level 1
Compute: d=b3+c2
Click here for example
Ex: If the input is:
2.0
4.0
then the output is:
d=24.0
import math
b = float(input())
c = float(input())
\
print(f'd ={d:.1f}') # Outputs d with 1 decimal place
Jump to level 1 Compute: d = b 3 + c 2 Click here

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!