title: Make a folder in each subfolder in a directory?
body: <p>I want to make a folder like this:</p>
  
  <pre><code>import os
  rootfolder = r'C:\Users\user\Desktop\mainf'
  for path, subdirs, files in os.walk(rootfolder):
      for i in subdirs:
          os.mkdir('newfolder')
  </code></pre>
  
  <p><code>mainf</code> has 100 subfolders that are empty. I want to make a folder called <code>new folder</code> in every one of them. The code above doesn't work.</p>