SHARE
TWEET

Untitled

a guest May 19th, 2017 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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("../../")
RAW Paste Data
Challenge yourself this year...
Learn something new in 2017
Top