summaryrefslogtreecommitdiffstats
path: root/scratch.py
blob: 296cb36b3a1ce873013d27f10c13009081111313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import sys

class Baz:
    def hello(self):
        print(foo)

if True:
  foo = 'bar'

print("hello, {0}".format('world!'))
c = Baz()
c.hello()