feat: change it to fit c better

This commit is contained in:
s-prechtl 2024-11-30 23:54:49 +01:00
parent 0f9a51010c
commit 2cee4e9b04
26 changed files with 2 additions and 2 deletions

View file

@ -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()