To gain experience with looping.
For this lab, you will write a program to calculate the sum of a set of numbers read in by the user.
Below is an example run of how this program should work:
How many numbers to enter? 5 Next number: 7 Next number: 11 Next number: 2 Next number: 19 Next number: 31 Total is 70
When you are finished, please submit the .py file for the lab on Canvas. To do so, you'll need to navigate to where you saved the file on your computer.
Copyright © 2024 Ian Finlayson | Licensed under a Creative Commons BY-NC-SA 4.0 License.