Skip to content
Snippets Groups Projects
Commit 21a6d0c9 authored by VALLET Armel's avatar VALLET Armel
Browse files

question 2

parent b9d3db55
No related branches found
No related tags found
No related merge requests found
class TabletteChocolat:
def __init__(self, m, n):
if type(m) != int or type(n) != int:
raise TypeError
self.m = m
self.n = n
# Programme principal
t = TabletteChocolat("a", "b")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment