diff --git a/.gitignore b/.gitignore index 4c49bd7..a1b9cbb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .env +__pycache__/ \ No newline at end of file diff --git a/main.py b/main.py index e3fcdb3..37f70fa 100644 --- a/main.py +++ b/main.py @@ -13,10 +13,27 @@ class ChemicalComponent(ABC): def mass(self): pass +''' Test de création d'un composant chimique pour vois si il y a des erreurs + class Atom(ChemicalComponent): def __init__(self,name): super().__init__(name) def mass(self): - return "masse de l'atome" \ No newline at end of file + return "masse de l'atome" + +''' + +class ChemicalElement(ChemicalComponent): + def __init__(self, name): + super().__init__(name) + + @classmethod + def atomic_number(cls): + pass + + @classmethod + def symbol(cls): + pass +