Skip to content
Snippets Groups Projects
Commit 6632ffde authored by rachida0001's avatar rachida0001
Browse files

question 2

parent fa369399
Branches
No related tags found
No related merge requests found
class TabletteChocolat:
def __init__(self, m, n):
if (type(m)!=int):
raise TypeError("m n'est pas entier")
elif(type(n)!=int):
raise TypeError("n n'est pas entier")
self.m = m
self.n = n
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment