-
Notifications
You must be signed in to change notification settings - Fork 73
Add files via upload #124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add files via upload #124
Conversation
input_file = f_write.write((input_text + '\n')) | ||
f_write.close() | ||
print('------------------------------------------------------------------------------------------') | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
выполнено
print(f'количество слов в строке {word_count}') | ||
print(f'Количество строк в файле {lines_count}') | ||
print('------------------------------------------------------------------------------------------') | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
выполнено
average_wage = average_wage / employee_count | ||
print(f'средняя зарплата: {average_wage}') | ||
print('------------------------------------------------------------------------------------------') | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
выполнено
result.write(rus_numb) | ||
result.close() | ||
print('------------------------------------------------------------------------------------------') | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
выполнено
result_sum = 0 | ||
for str_elem in count_sum_str.split(): | ||
result_sum = result_sum + int(str_elem) | ||
print(f'Сумма чисел в файле: {result_sum}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
выполнено
добавлен скрипт и текстовые файлы, необходимые для его работы
файл 5-ого задания генерируется скриптом и при многократном запуске дописывается им