我在测试我的代码,得到了这个错误:
Please enter the customer's name: 1
Please enter the customer's Phone Number:01506890639
Please enter the size of group: 2
Please enter the rating of the meal: 4
Do you wish to continue: Y/N?n
The largest group that visited had a cohort of:2
Traceback (most recent call last):
File "E:\CWtsk\code2.py", line 107, in <module>
main()
File "E:\CWtsk\code2.py", line 13, in main
mealrating(name, phone, groupno, score, review)
TypeError: mealrating() takes 1 positional argument but 5 were given
在这一点之前
^{pr2}$
目前没有回答
相关问题 更多 >
编程相关推荐