python函数def示例(计算梯形面积)

python函数def示例(计算梯形面积):python

vi aa.py

#!/usr/bin/pythonide

def fun(a,b,h):
s = (a+b)*h/2
print s函数

fun(3,4,5)
:wqit

python aa.py

相关文章
相关标签/搜索