Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def class myclass:
- def __init__():
- def callfunc(func):
- func()
- def myfunc1():
- print "hi thar!"
- def myfunc2():
- print "!raht ih"
- mC = myclas()
- mC.callfunc(myfunc1) #not sure what to put (there)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement