Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. def class myclass:
  2.     def __init__():
  3.        
  4.     def callfunc(func):
  5.         func()
  6.     def myfunc1():
  7.         print "hi thar!"
  8.     def myfunc2():
  9.         print "!raht ih"
  10. mC = myclas()
  11. mC.callfunc(myfunc1) #not sure what to put (there)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement