meta data for this page
  •  

loops

Use for loops where number of iterations is known. Use while otherwise.

for _ in range(0, 100):
  if component_ready():
    break