Basic subclasses

This commit is contained in:
Julia Hauer 2026-03-15 11:27:43 +01:00
parent 864cd4910a
commit 2cc30eee45

View File

@ -0,0 +1,14 @@
class Human:
def __init__(self):
pass
class Woman(Human):
pass
class Man(Human):
pass
def God():
adam = Man()
eve = Woman()
return[adam, eve]