Question: Complete the Python code by filling in [B] to return the below output. Enter tempeatures of past three days in Fahrenheit separated by comma: 70,

 Complete the Python code by filling in [B] to return the

Complete the Python code by filling in [B] to return the below output. Enter tempeatures of past three days in Fahrenheit separated by comma: 70, 71, 72 The average temperature is 71.0 degrees Fahrenheit. in progran to calculate the average temperature of three daya det average (x,y,z): a =(x+y+z)/3 def main(): t1, t2, t.3 = input("Znter tempeaturea of past three daya in Fahtenheat separated by oanma: ") . split(", ") print ("thoat (t1), float (t2), float (t3)) main () Question 3 Complete the Python code by filling in [C] to return the below output. Enter a real number: 0 The number is nonnegative. r= float (input("Enter a real number: ")) if I [C] 0 : print("The number is nonnegative.") else: print("The number is negative.")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!