Skip to content
Snippets Groups Projects
Commit 61755460 authored by VILLA Jonathan's avatar VILLA Jonathan
Browse files

question 2 13h35

parent 6485f527
No related branches found
No related tags found
No related merge requests found
......@@ -2,4 +2,9 @@ class TabletteChocolat:
def __init__(self, m, n):
self.m=m
self.n=n
try:
self.m=int(self.m)
self.n=int(self.n)
except:
print("Erreur m et n ne sont pas des entiers")
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment