a = [1, 2, 3, 4, 5]
sum = 0
for ele in a:
sum += ele
print(sum)
What is the output for the following python code

Posted on by