class toy: #
head='blue'
body='red'
def a(self,x): #a, you can be any word. 'you' becomes toy1 / 2
print('toy is running', self.body)
toy1=toy()
toy2=toy()
print(toy1.head, toy1.body)
print(toy1) #show the address of toy1
print(toy2) #show the address of toy2
toy1.a(1) #assign x=1
toy2.a(2) #assign x=2
print(toy1.a) #show the address of toy1.a()
print(toy2.a) #show the address of toy2.a()