Question: What is the output generated by the following code? j=5 k=10 sum = 0 for i in range (j, 50, k) : sum +=
What is the output generated by the following code? j=5 k=10 sum = 0 for i in range (j, 50, k) : sum += 5 print(sum)
Step by Step Solution
3.42 Rating (155 Votes )
There are 3 Steps involved in it
Lets analyze this corrected code j 5 is the starting point 50 is the endpoint exclusive k 10 ... View full answer
Get step-by-step solutions from verified subject matter experts
