Inspiration

Swag

What it does

Sums elements in an array using Python

How we built it

Python

# 40. How do you sum all the elements in an array?
# Solved using Python
# Expected output: 22.

numbers = [3, 4, 5, 10]
total = sum(numbers)
print(total)

Challenges we ran into

Syntax

What we learned

I should be able to answer all the interview questions.

Built With

Share this project:

Updates