Chubasco Diranga <alphar...@gmail.com> writes: > Can anyone please help me with the following please?
Welcome! Is this a homework assignment? It's okay to ask for help with those, but we're not going to do the work for you. > My question is in a while loop; how do l sum all the numbers in the > given list (list_a)? There is a built-in function to do that. Have you completed the Python tutorial <URL:https://docs.python.org/3/tutorial/>? You may also want to participate in the ‘tutor’ forum for Python <URL:https://mail.python.org/mailman/listinfo/tutor> which is specialised to help beginners in Python. -- \ “Reichel's Law: A body on vacation tends to remain on vacation | `\ unless acted upon by an outside force.” —Carol Reichel | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list