e
Write the output of the following programming code?
L=[]
L1=[]
L2=[]
for i in range (6,10):
L.append(i)
for i in range (10,4,-2):
L1.append(i)
for i in range (len (L1)):
L2.append (L[i] +L1[i])
L2.append(len (L)-len (L1))
print (L2)
Answers
Answered by
25
The output :
[16, 1]
[16, 1, 15, 1]
[16, 1, 15, 1, 14, 1]
Hope its helps :)
Answered by
2
Answer:
11 10 9 8 7 4 is the answer you are looking for
Similar questions