So you want to ask if the user wants to convert from Celsius to Fahrenheit or Fahrenheit to Celsius. This can be done by defining a variable which stores this decision. You could store it as a number, 1 or 2. 1 could be Celsius to Fahrenheit and 2 could be Fahrenheit to Celsius. This can be done with the following code.
user_choice = input("Which conversion? Celsius to Fahrenheit = 1, Fahrenheit to Celsius = 2\n")
if user_choice == 1:  # Celsius to Fahrenheit
    # conversion code
elif user_choice == 2:  # Fahrenheit to Celsius
    # conversion code
For the conversions, you would want to take an input of what the user wants converted and then use a method for converting. This might look like this.
user_choice = input("Which conversion? Celsius to Fahrenheit = 1, Fahrenheit to Celsius = 2\n")
if user_choice == 1:  # Celsius to Fahrenheit
    user_input = input("What temperature would you like converted to Fahrenheit?\n")
    converted_temp = (user_input * 1.8) + 32
    print(f"Your converted temperature is {converted_temp}")
elif user_choice == 2:  # Fahrenheit to Celsius
    user_input = input("What temperature would you like converted to Celsius?\n")
    converted_temp = (user_input - 32) * 0.5556
    print(f"Your converted temperature is {converted_temp}")
Here, I just used the conversion formula google gave me.
I hope this helps you!
EDIT:
Here is the fixed code.
user_choice = int(input("Which conversion? Celsius to Fahrenheit = 1, Fahrenheit to Celsius = 2\n"))
if user_choice == 1:  # Celsius to Fahrenheit
    user_input = int(input("What temperature would you like converted to Fahrenheit?\n"))
    converted_temp = (user_input * 1.8) + 32
    print(f"Your converted temperature is {converted_temp}")
elif user_choice == 2:  # Fahrenheit to Celsius
    user_input = int(input("What temperature would you like converted to Celsius?\n"))
    converted_temp = (user_input - 32) * 0.5556
    print(f"Your converted temperature is {converted_temp}")
else:
    print("That is not a valid input.")