This commit is contained in:
Jocelyn 2026-06-22 12:21:36 -03:00
commit 368e2a271c
9 changed files with 115 additions and 0 deletions

11
media.py Normal file
View file

@ -0,0 +1,11 @@
from dataclasses import dataclass
@dataclass
class Media:
def __init__(self, title, year):
self.year = year
self.title = title
def print_details(self):
print(f"Media: {self.title}, {self.year}")