logo

Crowdly

Browser

Add to Chrome

Qu'affiche le code python suivant? def http_response(status):    match sta...

✅ 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 http_response(status):

   match status:

       case 200 | 201:

           return "Success"

       case 500 | 502 | 503:

           return "Server Error"

       case _:

           return "Unknown Status"

print(http_response(500)) 

print(http_response(202)) 

0%
0%
0%
100%
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!

Browser

Add to Chrome