编写函数(python 为例)
Calculates the area of a triangle given its base and height. def calculateareaoftriangle(base: float, height: float) - float: content return area args: [23, 35]
Prompt text
Original Chinese text. Replace placeholders with your own details.
Source & attribution
Wonderful Prompts · Wonderful Prompts
Source-listed license: MIT. Prompt text is preserved; titles and previews may be shortened for display. Source examples are not NexGateHub test results.