I am currently writing a Fahrenheit to celcius calculator in python with two given options for users to choose between converting "F"(Fahrenheit) and "C" Celcius. I want to make it so that the program will loop back to asking the original question in my program and restarting the question chain if the user picks an option that is not either "F" or "C"
user_choice = input("do you want to convert F or C?: ")
if user_choice == "F":
x = int(input("Please enter farihneit tempature: "))
farinheit = (x-32) * 5/9
print(farinheit)
elif user_choice == "C":
c = int(input("Please enter celcius tempature: "))
celcius = (c*1.8) + 32
print(celcius)
else:
print("wrong")
I've tried watching youtube videos and reviewing lessons on the web