关于下列代码运行结果的说法,错误的是? ( ) scores = [58, 72, 85, 64, 43, 90, 56] HeGe = (score for score in scores if score >= 60) #筛选合格的同学 ZongFen = sum(HeGe) #计算合格同学们的总分 RenShu=len(HeGe) #统计合格同学的人数 print(RenShu)
A:HeGe是一个生成器对象
B:ZongFen的值是311
C:RenShu的值是4
D:该程序运行时会抛出TypeError
正确答案:C