0

a=[1,2,3,4]. b=[sum(a[0:x+1]) for x in range(0,len(a))]

Print (b). What is the output of this code and explain the code

20th Jun 2020, 7:30 AM
tharun reddy
tharun reddy - avatar
2 Respuestas
0
answer plzzz
20th Jan 2023, 6:30 AM
Divya Agrawal