logo

Crowdly

Browser

Add to Chrome

Що буде результатом виконання? class A:     def __init__(self, x=[]):     ...

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

Що буде результатом виконання?

class A:

    def __init__(self, x=[]):

        self.x = x

        self.x.append(1)

a1 = A()

a2 = A()

print(a2.x)

0%
0%
0%
100%
More questions like this

Want instant access to all verified answers on moodle.mnau.edu.ua?

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

Browser

Add to Chrome