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>&gt;&gt;&gt; 7/3<br>
2<br>&gt;&gt;&gt; 7/-3<br>-3<br>&gt;&gt;&gt; 3/7<br>0<br>&gt;&gt;&gt; # again reapting the questions with one more decimal place<br>&gt;&gt;&gt; 7.0/3<br>2.3333333333333335<br>&gt;&gt;&gt; 7.0/-3<br>-2.3333333333333335<br>
&gt;&gt;&gt; 3.0/7<br>0.42857142857142855<br>&gt;&gt;&gt; # why it is not showing the exact values in the previous cases<br>&gt;&gt;&gt; <br>********************************<br>ur help will strengthen my love for python<br>
Thanks<br>Regards<br>