Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use for loop for the following: BMI for a person is calculated as weight in kg/ (height in meters * height in meters). You need

Use for loop for the following:

BMI for a person is calculated as weight in kg/ (height in meters * height in meters). You need to calculate everyone in the following list variables.

v_weight = [65, 87, 76]

v_height = [1.67, 1.83, 1.76]

BMI for a person is calculated as weight in kg/ (height in meters * height in meters). You need to calculate everyone in the following dictionary variables.

v_weight = {"Bob": 87, "Cindy": 76, "Alice:; 65}

v_height = {"Alice": 1.67, "Cindy": 1.76, "Bob": 1.83}

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

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions