logo

Crowdly

Qu'affiche le code python suivant? def animal_facts(animal):     match ani...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

Qu'affiche le code python suivant?

def animal_facts(animal):

    match animal:

        case 'Lion':

            print('The lion is known as the king of the jungle.')

        case 'Elephant':

            print('Elephants are the largest land animals on Earth.')

        case 'Dolphin':

            print('Dolphins are highly intelligent marine mammals.')

        case _:

            print('Sorry, I don't have any facts about that animal.')

animal_facts('Lion')

animal_facts('Dolphin')

animal_facts('Elephant')

animal_facts('Tiger')

0%
0%
100%
0%
0%
Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.ipsa.fr?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!