[Tutor] How can I let the Python Console display more decimal precision?
Marino David
davidmarino838 at gmail.com
Thu Jun 12 02:48:25 CEST 2014
Hi All:
I am a newbie at the Python.
I type "26/12" in Python Console and get result of "2".
It is obvious that the corresponding result should be 2.3333...... I don't
know why the Console only returns the integer part of true result. Anyone
can help me out?
Thanks
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140612/4c5bc369/attachment.html>
More information about the Tutor
mailing list