Dear sir / madam<br>I am a new user of python and this is my first mail to local user group of python. I came across a strange behavior pf python n unable to explain it<br><br><br>*********************<br>>>> 7/3<br>
2<br>>>> 7/-3<br>-3<br>>>> 3/7<br>0<br>>>> # again reapting the questions with one more decimal place<br>>>> 7.0/3<br>2.3333333333333335<br>>>> 7.0/-3<br>-2.3333333333333335<br>
>>> 3.0/7<br>0.42857142857142855<br>>>> # why it is not showing the exact values in the previous cases<br>>>> <br>********************************<br>ur help will strengthen my love for python<br>
Thanks<br>Regards<br>