added many files

This commit is contained in:
ada-dmitry
2024-02-29 15:12:40 +03:00
parent 5a686b0f92
commit 09c84971a9
11 changed files with 101 additions and 1 deletions
+12
View File
@@ -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