No! That is NOT correct Python. For one thing, you do not declare the
types in dynamically typed languages. Secondly, if you want floating
point division, you need to enter atleast one of the numbers as float.

For example
10.0/6
or
10./6
or
float(10)/6

You will find the following helpful.
http://www.ibiblio.org/obp/thinkCSpy/

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to