Newbie question about lists

Paul Rubin http
Wed Jul 20 21:19:44 EDT 2005


"Leo Jay" <Python.LeoJay at gmail.com> writes:
> [Decimal("0.25"), Decimal("0.10"), Decimal("0.05"), Decimal("0.01")]

I wonder if we should have some special syntax for decimals: maybe

[$.25, $.10, $.05, $.01] 

That would even fit in with decimals being used for financial quantities.



More information about the Python-list mailing list