import math
import time
from unittest import result
print("welcome to the temerature converter ")
def again () :
try_again = print("your temperature | C | F | K | ").upper()
convert_temperature = input("The temperature you want to convert to | C | F | K | ").upper()
if user_temperature == "c" :
if convert_temperature == "F" :
degree = float(input("enter the degree: "))
result = (degree * 9/5) + 32
print(f"{result}°F \nThe equation: ({degree} * 9/5) + 32 = {result}")
elif convert_temperature == "K" :
degree = float(input("enter the degree: "))
result = degree + 273.15
print(f"{result}°K \nThe equation: {degree} + 273.15 = {result}")
elif convert_temperature == "c" :
print("this is the same type of temperature")
time.sleep(1)
again()
elif user_temperature == "F" :
if convert_temperature == "c" :
this is my code