Untitled

 avatar
unknown
python
3 years ago
308 B
5
Indexable
class Ocena():

    def __init__(self, ocena, typ_oceny, termin, data_wpisu):
        self.UUID = uuid.uuid4()
        self.ocena = ocena
        self.typ_oceny = typ_oceny
        self.termin = termin
        self.data_wpisu = data_wpisu
        self.dopuszczalna_ocena = [2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0]
Editor is loading...