Fredrik Lundh wrote: > Sean Reifschneider wrote: > >>> - Treat the negative as a reverser, so we get back (3, 2, 1). >> >> Then we could get: >> >> >>> print -123 >> 321 >> >> Yay! > > and while we're at it, let's fix this: > > >>> 0.66 * (1, 2, 3) > (1, 2) > > and maybe even this > > >>> 0.5 * (1, 2, 3) > (1, 1) > > but I guess the latter one might need a pronunciation. No, no, no! Floating point is so inaccurate! It has to be >>> Decimal("0.5") * (1, 2, 3) (1, Decimal("1")) Georg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4