Implement create slide with title in task module.py using pptx to add a slide with a title textbox to a…
Implement create slide with title in task module.py using pptx to add a slide with a title textbox to a…: a task in r2e-code-instruct-qwen3.5 (Harbor dataset). Input: str title for the textbox. Output: pptx.Shape object of the created textbox. Example: create slide with title("Hello") returns a…
The task
Input: `str` title for the textbox. Output: `pptx.Shape` object of the created textbox. Example: `create_slide_with_title("Hello")` returns a `Shape` object with that text. Constraint: Raise `ValueError` if title is empty. The solution must use `pptx`'s public API to add shapes.
Part of Essacheez/r2e-code-instruct-qwen3.5.