Lo schrieb:
I just tried python first time.

2/3

the result is zero

I want the result to be .333...

Well, that's not going to happen - 2/3 is .666 if not done with integers...


How do I get this?

Use floating points.


>>> 2.0 / 3.0
0.6666666666663


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

Reply via email to