wwayziyh 2023-05-18 23:53 采纳率: 0%
浏览 10

学生信息管理系统出现这个报错,不知道哪里出现了问题

TypeError:int() argument must be a string, a bytes-like object or a number, not 'NoneType'

img

img

  • 写回答

1条回答 默认 最新

  • vimtion 2023-05-18 23:58
    关注

    argument must be a string, a bytes-like object or a number, not 'NoneType'

    翻译过来就是 参数必须是 String,一个字节类型的对象或者是Number,而不是None。
    换句话说传参数传的是空,注意检查一下前面是否参数没有传递对。

    评论

报告相同问题?

问题事件

  • 修改了问题 5月19日
  • 创建了问题 5月18日