Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions python/src/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
def summ(a: int, b: int) -> int:
return a + b


if __name__ == "__main__":
print("Hello world")
print(summ(3, 4))
def print_employee():
name = input("Введите ваше ФИО")
data =input("введите число и месц начала работы")
age = int(input("введите ваш возраст"))
experience = input("введите стаж работы")
if age > 18 and age <= 60:
print(f"работник: {name}, возраст:{age}, стаж;{experience}, года, дата начала работы: {data}")
else:
print("у работника неверный возраст")
print_employee()