logo

Crowdly

Дан фрагмент программного кода a = ['foo', 'bar', ('baz', 'qux'), 'corge', ('sk...

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

Дан фрагмент программного кода

a = ['foo', 'bar', ('baz', 'qux'), 'corge', ('sky', 'sun', 'star')]

i = j = 0

while i < len(a):

    if type(a[i]) == tuple:

        while j < len(a[i]):

            print(a[i][j], end=' ')

            j += 1

        j = 0

    i += 1

который выводит …

More questions like this

Want instant access to all verified answers on edu.digtlab.ru?

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