l1= [5,2,4,1,11] total=0 for i in range(0, len(l1)-1): if l1[i]!=1 and l1[i]!=11: total+=l1[i] print (total)
Im having alot of trouble writi