<gh_stars>0
a1 = 100
class Demo:
    def mymethod1(self):
        print(a1)
myobj = Demo()
myobj.mymethod1()

a1 = 100
class Demo:
    def mymethod1(self):
        print(a1)
myobj = Demo()
myobj.mymethod1()