MCPcopy Create free account
hub / github.com/ActiveState/code / recipe-303176.py

File recipe-303176.py

recipes/Python/303176_Very_simple_accountants/recipe-303176.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""A *very* simple command-line accountant's calculator.
2
3Uses the decimal package (introduced in Python 2.4) for calculation accuracy.
4Input should be a number (decimal point is optional), an optional space, and an

Callers

nothing calls this directly

Calls 4

strFunction · 0.85
compileMethod · 0.45
joinMethod · 0.45
matchMethod · 0.45

Tested by

no test coverage detected