Skip to content

Conversation

azateyka
Copy link

добрый день,
сделал 3 задания.
В 4м выдало исключение TypeError: type 'Car' is not subscriptable. Надо еще по разбираться, не успел доделать.

А так очень прикольные вещи могут получиться, создаешь класс который делает за тебя "курсовую работу" и каждую сессию просто вызваешь эту функцию)))

time.sleep(0.5)
for light in cycle((lighter, lighter2, lighter3)):
print(light.color())
time.sleep(1)

Choose a reason for hiding this comment

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

выполнено


road = Road(20, 5000)
calculation = road.asphalt_sum(5)
print(calculation)

Choose a reason for hiding this comment

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

выполнено

return sum(self._income.values())

first_person = Position ( 'Анатолий', 'Иванов','Менеджер', 12000, 1000)
print(first_person.get_full_name(), first_person.get_total_income())

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