DonutPy icon indicating copy to clipboard operation
DonutPy copied to clipboard

donut.c one-liner implemented in Python

DonutPy - a one-line Python implementation for donut.c

Unlike the original, its source code doesn't compose a torus shape. However, it was built purposefully to fit in a single Python line.

Just like donut.c, if executed in ANSI or VT100 mode, it will produce the following result:

Rendered output in VT100 PowerShell