Question: complete the python program below that does the following: 1 . prompts the user to input a series of positive numbers 2 . the entry
complete the python program below that does the following:
prompts the user to input a series of positive numbers
the entry of a negative number or zero stops the input loop
the total of the numbers is displayed when the loop ends
think a priming input statement
# initialize accumulator
# start the loop
while num:
totalnum
# print results
printfthe sum of the numbers input is total:f
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
