Create a function that converts temperatures from Celsius to Fahrenheit.
- User
Create a function that converts temperatures from Celsius to Fahrenheit.
Assistant
We need to create a function that converts temperatures from Celsius to Fahrenheit. This is a simple task. The conversion formula: F = C * 9/5 + 32.
We should output the code. Probably in a programming language? The instruction does not specify language. Usually it's Python. I'll assume Python.
The function signature: def celsius_to_fahrenheit(celsius): return celsius * 9/5 + 32
But we need to consider if we need to handle floats or ints.
Let's produce a clean function.
We might also include a docstring.
Thus final answer: a code block with the function.
We can also demonstrate usage.
But the user only asked "Create a function that converts temperatures from Celsius to Fahrenheit." So we should provide the function definition.
I'll provide in Python.
Also note: the instruction says "Create a function", so likely just the function.
Thus final.
pythondef celsius_to_fahrenheit(celsius: float) -> float: """ Convert a temperature from Celsius to Fahrenheit. Args: celsius (float): Temperature in degrees Celsius. Returns: float: Temperature in degrees Fahrenheit. """ return celsius * 9 / 5 + 32