array = input('Enter the array')
sum = 0
for i in array:
sum = sum + i
print "sum of elements of array is", sum
Showing posts with label python array sum. Show all posts
Showing posts with label python array sum. Show all posts
Tuesday, December 26, 2006
Subscribe to:
Posts (Atom)
