[Tutor] (no subject)

Debashish Saha silideba at gmail.com
Sat Feb 4 13:08:56 CET 2012


*input:*
import numpy as np
def f(y):
    return (y/5)*2*(np.pi)*0.2


*results:*
f(11)
Out[109]: 2.5132741228718345

f(11.0)
Out[110]: 2.7646015351590183

*question:*
why did i get different values for the same input?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120204/a11ee795/attachment.html>


More information about the Tutor mailing list