def celsius(value: float, target_unit: str) -> float:
    """
    Utility function for Celsius conversion in Kelvin or in Fahrenheit

    :param value: temperature
    :param target_unit: Celsius, Kelvin or Fahrenheit
    :return: value converted in the right scale
    """
    if target_unit == "K":
        # Convert in Kelvin scale
        return value + 273.15
    else:
        # Convert in Fahrenheit scale
        return value * 1.8 + 32