- 博客(3)
- 收藏
- 关注
原创 Python 字典参数问题
问题描述: 传入复杂字典参数运行后提示如下错误: Traceback (most recent call last): File “F:\PyCode\PythonStu\students_info.py”, line 53, in get_students(**test1) TypeError: keywords must be strings 相关代码: def get_students(**kwargs): for key, value in kwargs.items():
2022-04-26 16:19:15
1675
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅