Light Mode
Dark Mode
why this is not correct?

hi why this code is giving me : IndexError: list index out of range checkio, 12 sum=0 mul=1 li=[] li=array[::2] for i in range(len(li)): sum+=li[i] mul=sum*array[-1] return mul

Created: Oct. 28, 2020, 7:04 p.m.
Updated: Oct. 28, 2020, 8:55 p.m.
0
2
User avatar
shresht