New course! Every coder should learn Generative AI!
Try a free lesson0
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
1 Answer
0
answer plzzz
Print (b). What is the output of this code and explain the code