I saw a small function that used math.
def f(x,y): return math.exp(x/5)*math.sin(y)
I removed math. from the terms and it worked just the same. What is the purpose of math. ?
1 | initial version |
I saw a small function that used math.
def f(x,y): return math.exp(x/5)*math.sin(y)
I removed math. from the terms and it worked just the same. What is the purpose of math. ?