Toy 1

Run Settings
LanguagePython
Language Version
Run Command
class toy: #create a scenario head='blue' body='blue' def a(self): #a, you can be any word. 'you' becomes toy1 / 2 print('toy is running', self.head, self.body) toy1=toy() #create toy1 relating toy() print(toy1.head) toy1.head='yellow' #change toy1.head color to yellow print(toy1.head) toy2=toy() toy2.head='red' toy.head='lime' print(toy2.head) print(toy.head)
Editor Settings
Theme
Key bindings
Full width
Lines