initial commit
This commit is contained in:
10
Python/OOP2/task10.py
Normal file
10
Python/OOP2/task10.py
Normal file
@ -0,0 +1,10 @@
|
||||
from dataclasses import dataclass
|
||||
|
||||
@dataclass
|
||||
class Foo1:
|
||||
text: str
|
||||
|
||||
@dataclass
|
||||
class Foo2(Foo1):
|
||||
num:int
|
||||
|
Reference in New Issue
Block a user