Computer Science, asked by singhchauhanabhay56, 4 months ago

Rewrite the following program using while loop:
p=1:
for i in range(0,10,3):
print(i)
print (“This is the end of loop “)

Answers

Answered by parora20
0

Answer:

p=1

while p<10:

if p%3==0:

print(p)

print ('this is end of loop')

Answered by goldenwind
0

p = 1

while p != 10:

print(p)

p = p + 3

Similar questions