Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CIS 1 1 5 2 0 2 4 SP ch 0 5 _ lab 0 2 Complete the python program below using onlineGDB = =
CISSP chlab
Complete the python program below using onlineGDB
copy program below this line
# student name SP chlabpy
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started