首页
编程
java
php
前端
首页
编程
java
php
前端
python,这个怎么写代码呀!
python定义一个函数,函数名:add.该函数无论输入多少个参数,最后都能显示出该参数的和.
给采纳不
def
add
(
*a
):
print
( sum(a))
点击展开全文