passing function to a function
Would any body please help in making following work?
def test(f):
plot(f)
test(x+1)
Would any body please help in making following work?
def test(f):
plot(f)
test(x+1)
never mind.. I figure this out.
def test(f):
show(plot(f))
test(x+1)
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2020-03-29 07:38:23 +0100
Seen: 144 times
Last updated: Mar 29 '20
Rather add the missing "return".