Skip to content

Lesson_8#8

Open
dzashivalov wants to merge 1 commit intomainfrom
Lesson_8
Open

Lesson_8#8
dzashivalov wants to merge 1 commit intomainfrom
Lesson_8

Conversation

@dzashivalov
Copy link
Owner

No description provided.

print(today.valid(11, 13, 2011))
print(Data.extract('11 - 11 - 2011'))
print(today.extract('11 - 11 - 2020'))
print(Data.valid(1, 11, 2000))

Choose a reason for hiding this comment

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

выполнено

div = DivisionByNull(10, 100)
print(DivisionByNull.divide_by_null(10, 0))
print(DivisionByNull.divide_by_null(10, 0.1))
print(div.divide_by_null(100, 0)) No newline at end of file

Choose a reason for hiding this comment

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

не выполнено, в этом задании нужно

  1. создать класс-исключение
  2. сгенерировать исключение
  3. отловить его через try-except



try_except = Error(1)
print(try_except.my_input())

Choose a reason for hiding this comment

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

не выполнено, в этом задании нужно

  1. создать класс-исключение
  2. сгенерировать исключение
  3. отловить его через try-except

print(unit_2.reception())
print(unit_3.reception())
print(unit_1.to_print())
print(unit_3.to_copier()) No newline at end of file

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