1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Molodets [167]
3 years ago
15

2.13) A simple rule to estimate your ideal body weight is to allow 110 pounds for the first 5 feet of height and 5 pounds for ea

ch additional inch. Write a program that reads the data in the file and outputs the full name and ideal body weight for each person. In the next chapter, you will learn about loops, which allow for a more efficient way to solve this problem.
Computers and Technology
1 answer:
kirill [66]3 years ago
7 0

Answer:

import csv

def ideal_weight( filename ):

   with open( "filename", "r" ) as file:

       for row in csv.DictReader( file):

           print ( "Name of person: ",row["name"] )

           person_weight = ( 110 * row["height"] )/ 5

           print ( "Ideal weight: ", person_weight )

Explanation:

The python source code above is a function which recieves a csv file argument, opens the file and reads each row an ordered dictionary. The function prints the name of each person in the file and their ideal weight.

You might be interested in
Information is a valuable asset and not everyone in the world can be trusted with it. Therefore, we need to protect our valuable
sergey [27]

Answer:

True.

Explanation:

6 0
3 years ago
Does anyone have game design in connections
kherson [118]

Answer:

1. Code editor

2. Syntax

Explanation:

Through the code editor, you can read through the code and test it. Since you can read as well as write and edit, you can do the troubleshooting quite effectively, and for all this, you only need the code editor.

As far as the set of rules which defines how various symbols are being considered, it is definitely syntax.

Hence, the correct answer for the two is as mentioned in the attachment.

8 0
3 years ago
Number 20, can anyone help?
SOVA2 [1]

Answer:

the visual grid system limits storage spatially by area

8 0
3 years ago
I know how to design it but I’m confused as to how to write a function code based on the info provided.
Nadusha1986 [10]
Your easiest approach would be to write a WinForms application in C#. This is too much to put in an answer here. DM me if you need info.
3 0
3 years ago
Explain
Charra [1.4K]

Answer:

The main difference between LAN, MAN and WAN is the scope and coverage of the networks. LAN (Local area network) is usually used to connect computers in smaller distances such as in a building or in offices. They use various topologies such as bus topology, ring topology, star typology etc to connect the computers and share information only among the computers connected in LAN. A Metropolitan Network covers larger coverage than LAN and is usually used for connecting a city rather than single organization. A Wide Area Network is collection of networks or many LANS. The perfect example of WAN is internet which connects thousands and millions of networks. Another factor which distinguishes between LAN, MAN and WAN is that LAN and MAN are owned by certain entities such as government, educational institutions or organizations whereas WAN (i.e. Internet) is not owned by anyone.

4 0
3 years ago
Other questions:
  • Your organization will be handling market trades. You will be required to verify the identify of each customer who is executing
    8·1 answer
  • How long does it take a letter to arrive?
    9·1 answer
  • Your license can be canceled if you __________
    14·2 answers
  • To save and store data separate from a computer, it helps to have an
    15·2 answers
  • Which would be included in a SaaS platform?<br><br> A.data link<br> B.IaaS<br> C.Java<br> D.vb.net
    5·1 answer
  • Write a SELECT statement that uses an aggregate window function to get the total amount of each order. Return these columns: The
    13·1 answer
  • Adam's interview with the hiring manager is going well. However, he wants to ensure that his skills and work history are memorab
    6·1 answer
  • Which componet is the smallest unit in a spreadsheet
    15·1 answer
  • (Reverse number) Write a program that prompts the user to enter a four-digit inte- ger and displays the number in reverse order.
    9·1 answer
  • How will you maintain electrical tools and equipment?
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!