- To: coders@xxxxxxxxxxx
- Subject: [coders] Python newbie question
- From: Carlo Sogono <carlo@xxxxxxxxxxxxx>
- Date: Tue, 14 Nov 2006 11:49:53 +1100
- Organization: Anchor Systems Pty Ltd
- User-agent: Thunderbird 1.5.0.7 (X11/20060922)
I'm attempting to learn Python and have been playing around with it for
the past few days. Why is my output not too smart:
>>> 8.0 + 0.45
8.4499999999999993
However this seems ok:
>>> 0.45 + 0.55
1.0
Cheers,
Carlo