Skip to content
Snippets Groups Projects
Commit a7f85279 authored by Fares_AZOUAOUI's avatar Fares_AZOUAOUI
Browse files

question 2

parent 3a61ab4f
Branches
No related tags found
No related merge requests found
......@@ -5,6 +5,8 @@ class TabletteChocolat:
'''
:param m et n : les nombres du couples
'''
if not(isinstance(n ,int) and isinstance(m, int))
raise TypeError("Ce ne sont pas des entiers")
self.n = n
self.m = m
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment