Respuesta :

Answer:

  1. def c_to_f(celsius):  
  2.    return celsius * 9/5 + 32
  3. temp_c = float(input('Enter temperature in Celsius: '))  
  4. temp_f = None  
  5. temp_f = c_to_f(temp_c)  
  6. print('Fahrenheit:' , temp_f)

Explanation:

The first piece of code we can fill in is the formula to convert Celsius to Fahrenheit and return it as function output (Line 2).

The second fill-up code is to call the function c_to_f and pass temp_c as argument (Line 7). The temp_c will be processed in the function and an equivalent Fahrenheit value will be returned from the function and assigned it to temp_f.

ACCESS MORE