Skip to content

Instantly share code, notes, and snippets.

@standbyme
Last active May 20, 2017 03:21
Show Gist options
  • Save standbyme/09883f57df5f72eec3b170384f583bd7 to your computer and use it in GitHub Desktop.
Save standbyme/09883f57df5f72eec3b170384f583bd7 to your computer and use it in GitHub Desktop.
import os
for i in range(1,10):
dir_name = str(i)
os.mkdir(dir_name)
os.chdir(dir_name)
open("question", 'a').close()
open("input", 'a').close()
open("output", 'a').close()
open("whatsup", 'a').close()
os.mkdir("code")
os.chdir("code")
open("main.cpp", 'a').close()
os.chdir("../../")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment