-
Notifications
You must be signed in to change notification settings - Fork 182
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_03 #1262
base: master
Are you sure you want to change the base?
homework_03 #1262
Conversation
# list_append(<10000001>,...): 0.0003 s | ||
# list_pop(<10000000>,...): 0.0000 s | ||
# dict_insert(<10000000>,...): 0.0000 s | ||
# dict_del(<9999999>,...): 0.0000 s |
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.
а как же операции поиска элементов и их получения?
|
||
|
||
# Класс для удобства работы с базой данных | ||
class SQLite(): |
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.
SQLite- не самое удачное имя для СВОЕГО класса
elif len(sys.argv) > 1 and sys.argv[1] == "--reset": | ||
reset_db() | ||
else: | ||
print("usage: task_2.py <uname> <passwd> OR task_2.py --reset") |
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.
выполнено
плюс за БД
# ---output--- | ||
# bbbb -> 3 | ||
# baba -> 6 | ||
# bcde -> 9 |
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.
выполнено
# <Это текст страницы http://yandex.ru> | ||
# Страница http://google.com есть в кэше, ее содержимое: | ||
# <Это текст страницы http://google.com> |
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.
выполнено
No description provided.