I need a celsius to farenheit convertor

Viewed 38

Error: From below Your function should be able to work with positive and negative values, for example, task(50) should return 122.0, task(-10) should return 14.0

def task(celsius): 
    Fahrenheit=(celsius * 1.8) +32
    return ("%.2f Celsius: %.2f fahrenheit" %(celsius, Fahrenheit)
print(task(-10))
0 Answers
Related