Advertisement
Guest User

Untitled

a guest
May 19th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. import os
  2. for i in range(1,10):
  3. dir_name = str(i)
  4. os.mkdir(dir_name)
  5. os.chdir(dir_name)
  6. open("question", 'a').close()
  7. open("input", 'a').close()
  8. open("output", 'a').close()
  9. open("whatsup", 'a').close()
  10. os.mkdir("code")
  11. os.chdir("code")
  12. open("main.cpp", 'a').close()
  13. os.chdir("../../")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement