logo

Crowdly

What will the output be after executing the following code? fruits = ["apples"...

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

What will the output be after executing the following code?

fruits = ["apples","bananas"]

for i in range(1,2):

    for fruit in fruits:

        print(i, fruit)

A.

apples

bananas

B. error

C.

1 apples

1 bananas

D.

1 apples

2 bananas

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

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

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