- Python
p1250要怎写
- 2023-1-30 12:40:42 @
log = print def ensure(condition, message): if condition: log('*** 测试成功') else: log('*** 测试失败:', message)
def product(number_list): r = 1 for e in number_list: r = r * e return r
对吗 不对的话 求指教
3 条评论
-
龙涵杰 LV 7 @ 2023-1-30 13:56:07
老师给测试数据要放上去,你这样提交不会有输出结果,所以会错(因为你都没有调用函数)
-
2023-1-30 13:49:11@
啊这,,,你发代码时要点代码块,不然我看得有点费劲
-
2023-1-30 12:42:01@
请用代码块,说题目
- 1