feat: change it to fit c better
This commit is contained in:
parent
0f9a51010c
commit
2cee4e9b04
26 changed files with 2 additions and 2 deletions
|
|
@ -8,8 +8,8 @@ if __name__ == '__main__':
|
||||||
# create folders for the days and the py files
|
# create folders for the days and the py files
|
||||||
for i in range(1, 26):
|
for i in range(1, 26):
|
||||||
if not os.path.exists(year + '/Day' + str(i)):
|
if not os.path.exists(year + '/Day' + str(i)):
|
||||||
os.makedirs(year + '/Day' + str(i))
|
os.makedirs(year + '/Day' + str(i) + '/src')
|
||||||
f = open(year + '/Day' + str(i) + '/Day' + str(i) + '.' + filetype, 'w')
|
f = open(year + '/Day' + str(i) + '/src/main.' + filetype, 'w')
|
||||||
f.close()
|
f.close()
|
||||||
f = open(year + '/Day' + str(i) + '/input.txt', 'w')
|
f = open(year + '/Day' + str(i) + '/input.txt', 'w')
|
||||||
f.close()
|
f.close()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue