Question: Which line in the following program will result in the error message: IndexError: list index out of range? listi - 0 listi.append(57) listi.append( Hor) listi.append(Rat)
Which line in the following program will result in the error message: "IndexError: list index out of range"? listi - 0 listi.append(57) listi.append( "Hor") listi.append("Rat") print(listi(-1)) print(listico) print(lista) print(list1/2)) print(lista[3)) Select one: O a print(listi (11) b.print(listi[-1]) c.print(lista) d.print(lista[3]) e.print(list1[2])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
