cannot unpack non-iterable NoneType object 运行python的一段程序代码时报错。 代码 def division(a,b): ''' 除法 :param a: 被除数 :param b: 除数 :return: 商和余数 ''' if b == 0: