class Gra():
    tytul = ""
    rok_wydania = ""
    wydawca = ""

    def __init__(self, tyt,rok,wyd):
        self.tytul = tyt
        self.rok_wydania = rok
        self.wydawca = wyd

    def wyswietl(self):
        print(self.tytul)
        print(self.rok_wydania)
        print(self.wydawca)


gra1 = Gra("Gothic", str(2001), "Pihrania Bytes")
# gra1.tytul = "Gothic"
# gra1.rok_wydania = str(2001)
# gra1.wydawca = "Phirania Bytes"

gra1.wyswietl()