Write the major difference between while loop and for loop in python
Answers
Answered by
4
Answer:
Simply put: a while loop will “do” something as long as or until a condition is met. A for loop will “do” something to everything which you wish to iterate through.
Similar questions