Skip to content

Задачи 7.3#171

Open
Dkisunkina wants to merge 5 commits into
mainfrom
Kisunkina_branch
Open

Задачи 7.3#171
Dkisunkina wants to merge 5 commits into
mainfrom
Kisunkina_branch

Conversation

@Dkisunkina
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Owner

@IlyaOrlov IlyaOrlov left a comment

Choose a reason for hiding this comment

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

Есть небольшое предложение по оптимизации.

i.give_money(money)
money = int(input("Ведите сумму, которую хотите положить на счёт: "))
i.take_money(money)
if isinstance(i, SecondAtm):
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Если добавить в родительский класс метод online с телом pass, то и isinstance проверять не придётся.

Copy link
Copy Markdown
Owner

@IlyaOrlov IlyaOrlov left a comment

Choose a reason for hiding this comment

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

Ещё одно маленькое замечание.

# Функция должна принимать три массива ([1, 2, 3], [4, 5], [6, 7]), а вернуть лишь один
# # массив ([1, 2, 3, 4, 5, 6, 7])

from itertools import chain
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Лучше какой-то один вариант импорта оставить: этот или в стр.8

Copy link
Copy Markdown
Owner

@IlyaOrlov IlyaOrlov left a comment

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.

3 participants