List index out of range

employee file

Cedula =[]
name =[]
Surname =[]
type =[]
Salary[]
pagoh =[]
status =[]

Record of hours

Canthanum =[]
Cedulahoras[]

Calculate the pay slip

pagordinario logo CNRS logo INIST[]; pagordih =[]
pagoextra =[]; pagoextrah =[]

pagoextra_ord =[]; pagoextra_ordh =[]
pagototal =[]; pagototalh =[]
sfs =[]; sfsh =[]
afp =[]; afph =[]
sueldo_bruto =[]; sueldo_brutoh =[]
tdeducido =[]; tdeducidoh =[]
salary_neto =[]; sueldo_netoh =[]

accounting report

Cedula Temple =[]
namecompl =[]
pago_ordi_empl =[]
pago_extra_empl =[]
pagoextra_ord_empl =[]
pagototal_empl =[]
salarioempl =[]
sueldo_bruto_empl =[]
sfs_empl =[]
afp_empl =[]
tdeducido_empl =[]
sueldo_neto_empl =[]

while true:

print ("1- Employee Registration") #done
print ("2- Registration of hours worked") #done
print ("3- Calculate Billing") #done
print ("change 4 employees") #done
print ("Edit 5 hours") #done
print ("6 Payroll Report") #done
print ("7-employee report")
print ("8-hours worked report")
print ("9-report of inactive employees")
Print ("10-AFP Report")
Print ("11 SFS Report")
print ("12-Exit") #done
to press ("")

opc = int (input ("Select the desired option:"))
print (& # 39; & # 39;)

if opc == 3:
while true:
cedn = input ("Enter the ID of the employee:")
for a range (len (cedula)):
if cedn == cedula[a]:

if status[a]== & # 39; me & # 39; or status[a]== & # 39; me & # 39 ;:
print ("Billing can not be calculated, employee is inactive")
break

Elif status[a]== & # 39; A & # 39; or status[a]== & # 39; a & # 39 ;:

cedulaempl.append (cedula[a])
name.append (name[a]+ "" + Last name[a])

if type[a]== & # 39; F & # 39; or type[a]== & # 39; f & # 39 ;:

pagordinario.append (int (0))
print ("Ordinary Payment:", pagordinary[a])
payment_ordi_empl.append (pagordinary[a])

paymentextra.append (int (0))
print ("Extra payment:", extra payment[a])
payment_extra_empl.append (additional payment[a])

paymentextra_ord.append (int (0))
print ("Extraordinary Payment:", pagoextra_ord[a])
paymentextra_ord_empl.append (pagoextra_ord.)[a])

pagototal.append (int (0))
print ("Payment total": pagototal[a])
pagototal_empl.append (pagototal[a])

print ("salary:", salary[a])
untemplated (salary[a])

salary_bruto.append (Salary[a])
print ("gross salary:", salary_brute[a])
salary_bruto_empl.append (salary_brute[a])

sfs.append (salary[a]0.0304)
print ("Discount SFS:", sfs[a])
sfs_empl.append (sfs[a])

afp.append (salary[a]* 0.0287)
print ("AFP discount:", afp[a])
afp_empl.append (afp[a])

tdeducido.append (salary[a]- (afp[a]+ sfs[a]))
print ("total deducted:", tdeducido[a])
tdeducido_empl.append (tdeducido[a])

salary_neto.append (tdeducido[a])
print ("net salary:", salary_net.)[a])
salary_neto_empl.append (salary_neto[a])
print (& # 39; & # 39;)


otherwise:

for c in range (len (cedulahoras)):
if the cedar[a]= cedulahoras[c]:
if canth[c]> 176:
hnormal = int (176)
thextras = (canth[c]-176)

if the extras> 24:
Hextras = 24
hextraordi = (thextras-24)

otherwise:
hextras = thextras
hextraordi = 0

otherwise:

normal = canth[c]
                                    Hextras = 0
hextraordi = 0

pagordih.append (pagoh[a]* normal)
print ("Ordinary Payment:", pagordih[c])
payment_ordi_empl.append (pagordih[c])

pagoextrah.append (hextras * (pagoh[a]* 1.35))
print ("Extra payment:", payment[c])
payment_extra_empl.append (paymentextrah[c])

paymentextra_ordh.append (hextraordi * (pagoh[a]* 2))
print ("Extraordinary Payment:", pagoextra_ordh[c])
paymentextra_ord_empl.append (pagoextra_ordh[c])

pagototalh.append (pagordih[c]+ payment text[c]+ paymentextra_ordh[c])
print ("Payment total": pagototalh[c])

untemplated (salary[a])

salary_brutoh.append (pagototalh[c])
print ("gross salary:", salary_brutoh[c])
salary_bruto_empl.append (salary_brutoh[c])

sfsh.append (pagordih[c]0.0304)
print ("SFS Discount:", sfsh[c])
sfs_empl.append (sfsh[c])

afph.append (pagordih[c]* 0.0287)
print ("AFP discount:", afph[c])
afp_empl.append (afph[c])

tdeducidoh.append (pagototalh[c]- (afph[c]+ sfsh[c]))
print ("total subtracted:", tdeducidoh[c])
tdeducido_empl.append (tdeducidoh[c])

salary_netoh.append (tdeducidoh[c])
print ("Net salary:", salary_netoh[c])
salary_neto_empl.append (salary_netoh[c])
print (& # 39; & # 39;)

opc3 = input ("You want to calculate the billing of another employee with Yes or No:")
if opc ==? n & # 39; or opc3 == & # 39; N & # 39 ;:
break

Enter the description of the picture here