以下关于函数返回值的描述中,正确的是()。
(A)Python函数的返回值使用很灵活,可以没有返回值,可以有一个或多个返回值
(B)函数定义中最多含有一个return语句
(C)在函数定义中使用return语句时,至少给一个返回值
(D)函数只能通过print语句和return语句给出运行结果
查看解析
参考答案
继续答题:下一题


(A)Python函数的返回值使用很灵活,可以没有返回值,可以有一个或多个返回值
(B)函数定义中最多含有一个return语句
(C)在函数定义中使用return语句时,至少给一个返回值
(D)函数只能通过print语句和return语句给出运行结果