Question: Can someone please help with problem 2? I have to write a code that follows the step-by-step instructions seen in red in the Linux Mint
Can someone please help with problem 2? I have to write a code that follows the step-by-step instructions seen in red in the Linux Mint software.
Problem 2. (Body Mass Inder) The body mass index (BMI) is the ratio of the weight of a person (in kilograms) to the square of the height (in meters). Write a program bmi.py that takes two floats w (for weight) and h (for height) as command-line arguments and writes the BMI. s python bmi.py 75 1.83 22.3954134193 Linux Mint [Running] bmi.py (/coursework/project2) File Edit View Search Tools Documents Help # bmi.py: Takes two floats w (for weight) and h(for height) as command-line # arguments and prints the body mass index (BMI), calculated as the ratio of # the weight to the square of the height. . import stdio import sys
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
