Facebook
From Cyprian, 3 Weeks ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 32
  1. class Osoba:
  2.     def __init__(self, nr_dowodu, pesel, plec):
  3.         self.nr_dowodu = nr_dowodu
  4.         self.pesel = pesel
  5.         for m in pesel:
  6.           if m
  7.    
  8.     def get_nr_dowodu(self):
  9.       return self.nr_dowodu
  10.  
  11.     def set_nr_dowodu(self, nr_dowodu):
  12.       return self.nr_dowodu
  13.  
  14.     def get_pesel(self):
  15.       return self.pesel
  16.  
  17.     def set_pesel(self, nr_pesel):
  18.       return self.pesel
  19.  
  20. def main():
  21.     Krzysiek = Osoba("011087", "00323120175")
  22.     print(Krzysiek.get_nr_dowodu())
  23.  
  24. main()