logo

Crowdly

Qu'affiche le code python suivant? def chat_app(text):     match text:    ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Qu'affiche le code python suivant?

def chat_app(text):

    match text:

       case 'Hello!':

           print('Hi')

       case 'How are you?':

           print('Great')

       case _:

           print('Goodbye')

chat_app('Hello!')

chat_app('How are you')
0%
0%
100%
0%
More questions like this

Want instant access to all verified answers on moodle.ipsa.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!