Computer Science, asked by 1047siyappanxia, 4 months ago

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 yash95151
0

Answer:

  1. JCI sn Studio jjdkc hhzb! th brush with you E mohit deore te to be ujdjdhdhkslskbsbeheeghehhdhhdhdiwkjshrjdjjdhhjfhdhhdhjxjuhxjhxjjdheujsjdjdjjdksnsnsb to the th hi Dr
Similar questions