Skip to content
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_05 #1270

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

homework_05 #1270

wants to merge 1 commit into from

Conversation

erinar
Copy link

@erinar erinar commented Apr 3, 2021

No description provided.

# FACEBOOK 29.14
# J P MORGAN CHASE & CO 29.07
# AMAZON.COM 27.29
# ---
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

выполнено
применили коллекции. как и требовалось


calc = Calc()
while calc.loop(input('> ')):
pass
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

выполнено

# чтобы освободить место для нового элемента, а appendleft
# добавляет элемент в резервную область пямяти, содержимое
# дека остается на месте.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

выполнено

# Таким образом нет явной причины использовать
# OrderedDict за исключением
# поддержки legacy-кода
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

выполнено

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants