Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Getting several error messages with my code in Python. Can you help me edit this? import math print(enter D, W, H (separated by commas): D,
Getting several error messages with my code in Python. Can you help me edit this?
import math print("enter D, W, H (separated by commas): D, W, H" D - int(input)) W- int(input()) H int(input()) height-math.sqrt((D D)*(H*/((W*W+(H*H)) width - (W/H)*height print("height:",height) print("width:",width) # solution must be above this comment # do not change any part of the code below def main: D, W, Heval input("enter D, W, H (separated by commas): ") ) h - height(D, W, H) w - width(W, H, h) print("width-10:.1f!, height-1:.1fj".format(w, h)) mainOStep 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