-1
Hello, my friend.
I’m making a very stupid mistake that I can’t even understand why it’s wrong.
a = [1, 4, 5]
b = []
for i in range(0,len(a)):
c = a[i+1]
b.append(c)
The mistake is
IndexError: list index out of range
how so the copier does not understand that i = 0, I want a[1]??
Thank you for your attention