Computer Science, asked by BharthiDadlani, 3 months ago

convert to for loop
for x in range (5):
print(x)

Answers

Answered by eclipto17
9

Answer:

for x in range(5): print (x). To convert into a while loop, we initialize a counting variable to 0 before the loop begins and increment it by 1 ...

Explanation:

......

Answered by FairyLight
11

Answer:

For x in range (5): print (x). To convert into a while loop, we initialize a counting varaible to 0 before the loop begins & increment it by 1.

Explanation:

Hope this answer will help you dear...

Similar questions