Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Testclass:
- string = ""
- def __init__(self, message):
- self.string = message
- def testFunc(self):
- basic.show_string(self.string)
- def on_forever():
- x = Testclass("Hello World")
- x.testFunc()
- basic.forever(on_forever)
Add Comment
Please, Sign In to add comment