Question: Question 3a Write a small program that asks users to input a temperature in Fahrenheit and save it to f (the user may input any

Question 3a Write a small program that asks users to input a temperature in Fahrenheit and save it to "f" (the user may input any numeric value), and then convert it to a Celsius temperature with two decimal places by using the round() function, and save it to 'c". Finally, print output as "xx.xx Celsius". Note that data type of both 'f' and 'c" should be float! Expected output Please input a temperature in Fahrenheit: 25 -3.89 Celsius In (*): 1 # Start your code below Question 3b Using a for loop, please write a small program to turn a list of temperature information in Fahrenheit (F) to Celsius ("C). For example, listf below contains some temperature in Fahrenheit (74.3, 31.1, 65.12, 97.16, 65.3), and listc is the target list that shall contain converted terperatures in Celsius, rounded to 2 decimal places. Expected output: [23.5, -0.5, 18.4, 36.2, 18.5] In ( ): 1 listf = [74.3, 31.1, 65.12, 97.16, 65.3] 3 # Start your code below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
