title: create multiple folders using loops in python
body: <p>I want to write a function in python that creates a folder everytime a given condition is true. I don't know how many times this condition will be fulfilled. It will be like </p>
  
  <p>step_1 condition true create folder1 
  step_2 condition true create folder2 
  ...
  step_n condition true create foldern</p>