1
This commit is contained in:
1 parent
8da06e8010
commit
e79435e112
1 file changed
+4
@@ -1,3 +1,7 @@
|
||||
class Critter(object):
|
||||
def talk(self):
|
||||
print("Привет. Я - зверюшка - экземпляр класса Critter.")
|
||||
|
||||
crit = Critter()
|
||||
crit.talk()
|
||||
input("\n\nНажмите Ent, чтобы выйти")
|
||||
Reference in new issue
Block a user