You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Python program to convert temperature values back and forth between Celsius and Fahrenheit. The user should be able to input a temperature in Celsius or Fahrenheit, and the program should convert it to the other unit using the formula:
c/5=(f−32)/9
Output: Enter the temperature100
Is this in (C)elsius or (F)ahrenheit?C
100 Celsius is 212.0 Fahrenheit
"""
temperature = int(input("Enter the temperature"))
celsius_or_fahrenheit = input("Is this in (C)elsius or (F)ahrenheit?")