-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathboilerplate.py
More file actions
35 lines (26 loc) · 1.32 KB
/
boilerplate.py
File metadata and controls
35 lines (26 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ----------------------------------------------------------------------------------------------------------------------
# Advent of Code - Day X
#
# The Python One-Liner challenge:
#
# Rules:
#
# - Reading input into a variable from another file or with an assignment is acceptable and does not count against
# your total for lines.
# - Your solution must take the form of 'print INSERT_CODE_HERE'
# - Formatting your print with a format string is acceptable so long as you are only substituting ONE value (multiple
# calculations are not allowed)
# - No global variables (outside of the input variable)
#
# ----------------------------------------------------------------------------------------------------------------------
_input = open('input', 'r').read().strip()
# ----------------------------------------------------------------------------------------------------------------------
# Part 1 (goal)
#
# EXPLANATION
# ----------------------------------------------------------------------------------------------------------------------
# ----------------------------------------------------------------------------------------------------------------------
# Part 2 (goal)
#
# EXPLANATION
# ----------------------------------------------------------------------------------------------------------------------