Question: IN pythonWrite a program that uses a for loop to calculate the sum of numbers. The user will specify how many numbers to sum. No

IN pythonWrite a program that uses a for loop to calculate the sum of numbers. The user will specify how many numbers to sum. No lists, functions, dictionary. You are not allowed to use break or continue. ALso use this format
#input
#calc
#output/print
Sample Run 1 How many numbers do you want to add? 3
Enter number 1 : 25
Enter number 2 : 34
Enter number 3 : 33
The total is 92.0
Sample Test Run 2 and 3(provide your own data)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!