Balanced ternary: Difference between revisions

m
→‎{{header|Python}}: Fix link to translation of Common Lisp.
m (added more whitespace to the task's preamble, added a ;Task section header.)
m (→‎{{header|Python}}: Fix link to translation of Common Lisp.)
Line 3,870:
</pre>
=={{header|Python}}==
{{trans|CommonLispCommon Lisp}}
<lang python>class BalancedTernary:
# Represented as a list of 0, 1 or -1s, with least significant digit first.