Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please USE the feet given and convert them to meters using a loop and append ONLY. please show me what code would work for this

please USE the feet given and convert them to meters using a loop and append ONLY. please show me what code would work for this specific problem. im using Python 3 juptyer image text in transcribed
Task-1 (5 points); Convert the values of height (in feet) that is given in the table to the unit of meters. To do this, define a list which will contain all the height values in feet and store it in a variable name heights_feet. Following this, loop over each height value (in feet) in the list heights_feet and convert it to meters (conversion from feet to meters is given below). Append the converted height values in meters to a new list and store it in a new variable name heights_meters. Print heights_meters to the output 1 feet = 0,3048 meters Note: In order to use the values of height in meters for the other tasks in this problem, create an empty list and store it in a variable name heights_meters to which you will append the height values in meters after conversion. Also, refer to Problem-1 to know how to define an empty list and to append values to an empty list 18): WGIVE THE SOLUTION FOR TASK-1 IN THIS CELL: heights_feet-19,15,18,24,27,33,36,42] def var(heights_feet): heights metersi heights feet.apend(e. 3048) return heights_feet

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

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

Define organisational structure

Answered: 1 week ago

Question

Define line and staff authority

Answered: 1 week ago

Question

Define the process of communication

Answered: 1 week ago

Question

Explain the importance of effective communication

Answered: 1 week ago

Question

* What is the importance of soil testing in civil engineering?

Answered: 1 week ago

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago