*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?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to