def create_day_files(): for i in range(1,25): f = open(f"inputs/day{i}.txt", "a") create_day_files()