Hugging Face interview question

Solving a python coding problem about summing intergers from a list.