Consider the following loop: j=10
while j >=5:
print(“X”)
j=j-1
Which of the following for loop will generate the same output as the loop shown previously?
a. for j in range(-1,-5,-1):
print(“X”)
b. for j in range(0,5):
print(“X”)
c. for j in range(10,-1,-2):
print(“X”)
d. for j in range(10,5,-1):
print(“X”)
Answers
Answered by
0
Answer:
- JCI sn Studio jjdkc hhzb! th brush with you E mohit deore te to be ujdjdhdhkslskbsbeheeghehhdhhdhdiwkjshrjdjjdhhjfhdhhdhjxjuhxjhxjjdheujsjdjdjjdksnsnsb to the th hi Dr
Similar questions