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: Write a menu-driven Python program that allows users to convert temperatures between Celsius and Fahrenheit. The program should repeatedly display a menu with three options:
1.Convert Celsius to Fahrenheit
2.Convert Fahrenheit to Celsius
3.Exit the program
"""
while True:
print("\n1.\tConvert Celsius to Fahrenheit")
print("2.\tConvert Fahrenheit to Celsius")
print("3.\tExit")
choice = int(input("Enter your choice:"))
if choice == 1:
temperature = int(input("Enter the temperature:"))