New course! Every coder should learn Generative AI!
Try a free lesson0
Plzz Explain what is the output
Col=[] sum =0 for a in range(10): Col.append(sum) sum+=a print(Col[5])
2 Answers
+ 4
Please follow the syntax of python use indentation for FOR loop
+ 3
Run on code playground and see the output.