Answered step by step
Verified Expert Solution
Link Copied!

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?image text in transcribedimage text in transcribed

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)) mainO

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

Students also viewed these Databases questions