Python 语法-函数
ITPOW2019/7/30 15:50:24
def cal(r): return 3.14 * r * r print(cal(2))
关键词
def
,注意
冒号
和
空两格
。
<<返回首页<<