TokenToSea提示词广场
English 控制台

编写函数(Python 为例)

编程开发·任务模板

在聊天中使用

``` # Calculates the area of a triangle given its base and height. def calculate_area_of_triangle(base: float, height: float) -> float: # content return area…

中文原文
```
# Calculates the area of a triangle given its base and height.
def calculate_area_of_triangle(base: float, height: float) -> float:
    # content
    return area
# args: [23, 35]
```
你现在将作为上面的 Python 函数,请写出完整的函数内容,并输出 area 的结果,此外不要输出任何别的信息。