gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
Write a programming task in the following format: "Title": "[Task…
- User
Assistant: User: Write a programming task in the following format:
"Title": "[Task Title]", "Task Description": "[A brief description of what needs to be done]", "Function Signature": "def function name -> [return type]:"
Please make sure to provide only the task title, task description, and function signature, without examples, constraints, or detailed explanations.
Assistant:
- Assistant
"Title": "Convert Fahrenheit to Celsius", "Task Description": "Write a function that converts a given temperature from Fahrenheit to Celsius.", "Function Signature": "def fahrenheit_to_celsius(fahrenheit: float) -> float:"