forked from tdwojak/Python2017
Merge branch 'master' of https://git.wmi.amu.edu.pl/tdwojak/Python2017
# Conflicts: # labs02/test_task.py
This commit is contained in:
parent
417669ce28
commit
e7c555cd6a
@ -1,3 +1,23 @@
|
||||
#!/usr/bin/env python2
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
class Employee:
|
||||
id=1
|
||||
|
||||
def __init__(self, imie, nazwisko):
|
||||
self.imie= imie
|
||||
self.nazwisko=nazwisko
|
||||
|
||||
def get_id(self):
|
||||
return self.id
|
||||
|
||||
Prac=Employee('Anna', 'Nowak')
|
||||
print(Prac)
|
||||
"""
|
||||
class Prostokat(Figura):
|
||||
def __init__(self, vertexes):
|
||||
super().__init__(vertexes)
|
||||
|
||||
def czy_jestem_kwadratem(self):
|
||||
pass
|
||||
"""
|
Loading…
Reference in New Issue
Block a user