python only prints integers

Edward A. Falk falk at rahul.net
Thu Jan 6 22:32:54 EST 2011


In article <cd9d1c80-b1d2-4d20-9896-a6fd77bd7db2 at j25g2000yqa.googlegroups.com>,
Ian  <ian.g.kelly at gmail.com> wrote:
>
>In Python 3, the '/' operator always performs true division.

How can I get integer division?

-- 
	-Ed Falk, falk at despams.r.us.com
	http://thespamdiaries.blogspot.com/



More information about the Python-list mailing list