logo

Crowdly

Browser

Add to Chrome

Qu'affiche le code python suivant? def access(user):     match user:    ...

✅ 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 access(user):

    match user:

        case "admin" | "manager":

            return "Full access."

        case "Guest":

            return "Limited access."

        case _:

            return "No access."

print(access('User'))

print(access('manager'))

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

Browser

Add to Chrome