Skip to content

Mutant retourne_monnaie#6

Open
laurabubble1 wants to merge 4 commits into
LOG3430:mainfrom
laurabubble1:main
Open

Mutant retourne_monnaie#6
laurabubble1 wants to merge 4 commits into
LOG3430:mainfrom
laurabubble1:main

Conversation

@laurabubble1

Copy link
Copy Markdown

Ne met pas monnaie_courante à zéro dans la methode retourne_monnaie :

    def retourne_monnaie(self):
        pieces = self.monnaie_courante
        self.monnaie_courante = 1 # Monnaie courante pas à zéro
        self.vente_permise = False
        print("Voici votre monnaie")
        return pieces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant