TypeError Traceback (most recent call last)
Cell In[1], line 8
5 total_enrollments = [33923, 62677, None, None, 3505, 30316, 7781, 33713]
7 # 计算全国总录取人数
----> 8 total_national_enrollment = sum(total_enrollments)
10 # 绘制柱状图
11 plt.figure(figsize=(10, 6))
TypeError: unsupported operand type(s) for +: ‘int’ and ‘NoneType’