Add Python version to template

This commit is contained in:
akp 2020-12-05 14:35:24 +00:00
parent f7eec665e7
commit a1f00683bc
No known key found for this signature in database
GPG key ID: D3E7EAA31B39637E

View file

@ -1,4 +1,5 @@
import json
import platform
import sys
from rich import print
@ -37,7 +38,8 @@ def run_tests():
print()
if __name__ == "__main__":
print(f"[yellow]AoC {year}[/yellow]: day {day} - {title}\n")
print(f"[yellow]AoC {year}[/yellow]: day {day} - {title}")
print(f"Python {platform.python_version()}\n")
try:
challenge_input = open("input.txt").read()