Computer Science, asked by katengemonika, 7 months ago

. Write a Python program to convert the given temperature from Fahrenheit to Celsius

and vice versa depending upon user’s choice.
algorithm​

Answers

Answered by xxxxxx21
10

answer \: for \: your \: query

Python Program to Convert Celsius To Fahrenheit and Vice Versa

Celsius = (Fahrenheit – 32) * 5/9 Fahrenheit = (Celsius * 9/5) + 32.

celsius = float(input("Enter temperature in celsius: ")) fahrenheit = (celsius * 9/5) + 32 print('%.2f Celsius is: %0.2f Fahrenheit' %(celsius, fahrenheit))

Answered by dahiyasaanvi
1

Answer:

12.222222222222221

Explanation:

Fahrenheit= 54

Celsius = ((Fahrenheit-32)*5)/9

print("Temperature in Celsius is: ");

print(Celsius);

Similar questions