DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Creaing your own functions
import numpy as np def f(x): return x**3 - np.log(x) print(f(3)) print(f(5.1))
Source by kitchingroup.cheme.cmu.edu #
PREVIOUS
NEXT
Tagged:
#Creaing
#functions
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit