Question: CIS 1 1 5 2 0 2 4 SP ch 0 5 _ lab 0 1 Complete the python program below, using onlineGDB. = =
CISSP chlab
Complete the python program below, using onlineGDB.
COPY PROGRAM BELOW THIS LINE
#student name chlabpy
complete the python program below, using onlineGDB, so it does the following:
prompts for how many times the loop is to run
accumulates the numbers from to the number of times the loop runs, ie if
the loop runs times the total should be
remember python starts counting at zero
# initialize accumulator
# input data
numTimesintinputhow many times to you want to run the loop?
# loop and total
for i in range:
total
# print results
printfthe total of the numbers from to numTimes:d is total:d
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
