Environmental Sciences, asked by sandeepdatta762, 5 days ago

2. for => while for x in range(5,20,5): print(x) convert the following loop directed​

Answers

Answered by avulamanjula875
0

Answer:

Convert the following loops as directed.

1. while => for

X=5

while(x<10):

print(x+10)

X+=2

2. for => while

for x in range(5,20,5):

print(x)

Similar questions