Criando suas próprias funções
import numpy as np
def f(x):
return x**3 - np.log(x)
print(f(3))
print(f(5.1))
Competitive Programmer
import numpy as np
def f(x):
return x**3 - np.log(x)
print(f(3))
print(f(5.1))