diff options
Diffstat (limited to 'scratch.py')
-rw-r--r-- | scratch.py | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,12 @@ import sys -print("hello, {0}".format('world!'))
\ No newline at end of file +class Baz: + def hello(self): + print(foo) + +if True: + foo = 'bar' + +print("hello, {0}".format('world!')) +c = Baz() +c.hello()
\ No newline at end of file |