Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the pseudocode provided below to guide you in solving the problem. to write the python code solution on Jupyter Notebook. Solve each problem in

Use the pseudocode provided below to guide you in solving the problem. to write the python code solution on Jupyter Notebook. Solve each problem in the order presented below. You must provide a comment to label each problem (e.g., #Problem A, etc.). Be sure to run each cell to display the end result. Your notebook should only have four code cells when you submit it to Blackboard (one for each problem).

(Please use the Jupyter notebook to solve the two problems below)

PROBLEM C: Convert a Fahrenheit value to Celsius (From F to C) and display the converted value .

Pseudocode:

Define a variable representing Celius, name it c, and assign c a numerical value of 0.0

Define a variable representing Fahrenheit, name it f, and assign f a numerical value of 50.9

Use the formula c = (f - 32) * (5 / 9) to convert Fahrenheit (f) to Celsius (c).

Display the temperature in Celsius

Note: Problem C should not have a for statement nor an if statement.

PROBLEM D: Convert a list of Fahrenheit values to Celisus and display the list of converted values.

Pseudocode:

Define a variable representing Celius, name it c, and assign it a numerical value of 0.0

Define a list variable representing Fahrenheit, name it f, and assign it [50.9, 99.5, 72.5]

Define an empty list named converted

For each temperature value in f:

Convert it to Celsius using c = (f - 32) * (5 / 9)

Append the converted value to the converted list

Display the list of converted values from the converted list

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

9th Edition

B01JXPZ7AK, 9780805360479

More Books

Students also viewed these Databases questions