TypeError Traceback (most recent call last)
Cell In[1], line 19
11 基数 = 6900
13 # 计算公司承担部分
14 公司承担部分 = {
15 “养老保险”: 基数 * (缴费比例[“养老保险”][“单位”] / 100),
16 “医疗保险”: 基数 * (缴费比例[“医疗保险”][“单位”] / 100),
17 “失业保险”: 基数 * (缴费比例[“失业保险”][“单位”] / 100),
18 “生育保险”: 基数 * (缴费比例[“生育保险”][“单位”] / 100),
—> 19 “工伤保险”: 基数 * (缴费比例[“工伤保险”][“单位”] / 100)
20 }
22 公司承担总额 = sum(公司承担部分.values())
23 公司承担总额
TypeError: unsupported operand type(s) for /: ‘str’ and ‘int’