4.8. Sum of Numbers - Python

in programming •  8 years ago 

Starting out with Python, Third Edition, Tony Gaddis
Chapter 4
Programming Challenges

  1. Sum of Numbers

Write a program with a loop that asks the user to enter a series of positive numbers. The user should enter a negative number to
signal the end of the series. After all the positive numbers have been entered, the program should display their sum.

Starting out with Python. Third Edition. Tony Gaddis.

Happy Steeming Everyone! :)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!