initial commit

This commit is contained in:
2023-07-16 13:23:25 +00:00
commit c3fa5367c3
85 changed files with 4921 additions and 0 deletions

12
Python/OOP2/task6.py Normal file
View File

@ -0,0 +1,12 @@
from dataclasses import dataclass
from typing import Self
@dataclass
class Game:
name: str
year: int
# НАХ?
def get_name(self: Self):
return self.name