Skip to content
Snippets Groups Projects
Commit fdd8f531 authored by CHOPIN Lou-anne's avatar CHOPIN Lou-anne
Browse files

init commit

parent 1ea63f12
No related branches found
No related tags found
No related merge requests found
......@@ -2,3 +2,10 @@ class TabletteChocolat :
def __init__(self, m, n):
self.m = m
self.n = n
if not isinstance(m, int) or not isinstance(n, int) :
raise TypeError("Les entrées ne sont pas des entiers")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment