Skip to content
Snippets Groups Projects
Commit 3dae2a81 authored by KARIMOU Firdaousse omowoumi's avatar KARIMOU Firdaousse omowoumi
Browse files

2eme question

parent 90b75906
No related branches found
No related tags found
No related merge requests found
...@@ -3,3 +3,12 @@ class TabletteChocolat: ...@@ -3,3 +3,12 @@ class TabletteChocolat:
self.m = m self.m = m
self.n = n self.n = n
m = "m"
n = "n"
try:
m = int(m)
n = int(n)
except:
print("Erreur!",m, "est un entier")
print("Erreur!", n, "est un entier")
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment