mirror of
https://github.com/ada-dmitry/python_ada.git
synced 2026-09-24 09:20:27 +00:00
added many files
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
|
||||
class Employee():
|
||||
|
||||
def __init__(self, first_name, last_name, salary_of_year):
|
||||
self.first_name = first_name
|
||||
self.last_name = last_name
|
||||
self.salary_of_year = salary_of_year
|
||||
|
||||
def give_raise(self, increment_of_salary=5000):
|
||||
self.salary_of_year += increment_of_salary
|
||||
Reference in New Issue
Block a user