Question from the Python test

What is missing in the class `A` to create the sentence "My train rolls!" in the code below?

Waiting for validation

Que manque-t-il à la classe A pour créer la phrase "Mon train roule !" dans le code ci-dessous ?

class Mixin:
    def __init__(self, text):
        self.text = text


class A(Mixin):
    pass


class B(Mixin):
    pass


result = A('Mon train') & B('roule !')
Author: John PendenqueStatus: Waiting for validationQuestion not yet passed
0
Community EvaluationsNo one has reviewed this question yet, be the first!