division bug?

Russell Blau russblau at hotmail.com
Wed Jun 9 11:03:47 EDT 2004


"Milan" <milanmor at yahoo.com> wrote in message
news:964246.0406090655.7e190def at posting.google.com...
> a program:
>
> a=10
> b=5
> print a/b
>
> and its result: 0. If you run the program, you see always a sero (0),
> but 10/5 is 2. Who can help me?

Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on
win32
Type "copyright", "credits" or "license()" for more information.

>>> a = 10
>>> b = 2
>>> print a/b
5

What version are *you* running?


-- 
I don't actually read my hotmail account, but you can replace hotmail with
excite if you really want to reach me.





More information about the Python-list mailing list