KeyJ's Python Star
Author: KeyJ / TRBL
Category: Christmas Challenge
System: newschool PC
Language: Python
Len source code: 93 bytes
Len exe file: n/a
Len code only: n/a
Instructions:
- requires Python 3.10 or newer
- run with (Linux):
$ python3 vc3_22_python.py
- run with (Windows):
> py -3 vc3_22_python.py
Description:
Uses a parametric description of the star shape with a lot of min(), max() and
abs() magic, abuse of booleans as integers etc.
Comments:
I know, Python isn't exactly considered "vintage", but I'm currently doing a
lot of Python code golf for Advent of Code anyway, so it was just the most
natural thing to do ...