-
Notifications
You must be signed in to change notification settings - Fork 6
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
homework 4 Fadeev #10
base: main
Are you sure you want to change the base?
Conversation
1. $ pip show pillow | ||
WARNING: Package(s) not found: pillow | ||
|
||
2. ��������� ��������� ������ pillow � ���������� ��������� |
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.
следите за кодировками файла - стандартная, рекомендуемая UTF-8
$ virt/Scripts/activate.bat | ||
|
||
rufadeeeg@RU01NBFADEEEG01 MINGW64 ~/Onedrive - KROHNE GROUP/������� ����/task_4_1 | ||
$ pip freeze |
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.
просто посмотреть можно ещё через pip list
if my_list[i][0] == code: | ||
result = result + float(my_list[i][1]) | ||
|
||
return(result) |
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.
пробел после return
и не нужно значение обрамлять в скобки
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.
если кода нет в ЦБР, то нужно возвращать None
, а Ваша функция возвращает 0.00
aux_list.append(web_list[i + 2][9]) | ||
aux_list.append(web_list[i + 2][10]) | ||
aux_list.append(web_list[i + 2][11]) | ||
aux_list.append(' ') | ||
aux_list.append(web_list[i + 5][6]) | ||
aux_list.append(web_list[i + 5][7]) | ||
aux_list.append('.') | ||
aux_list.append(web_list[i + 5][9]) | ||
aux_list.append(web_list[i + 5][10]) | ||
aux_list.append(web_list[i + 5][11]) |
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.
хорошо, что это работает, но выглядит крайне избыточным надо бы поискать более оптимальный путь
Домашнее задание 4, задания 1 и 2