logo

Crowdly

Browser

Add to Chrome

Що виведе наступний фрагмент коду class My Class :     def __init__(self...

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

Що виведе наступний фрагмент коду

class MyClass:

    def __init__(self):

        self.x = 10

 

c = MyClass()

print(getattr(c, "y", 0))

setattr(c, "у", 20)

print(getattr(c, "у", 0))

delattr(c, "у")

print(getattr(c, "у", 0))

More questions like this

Want instant access to all verified answers on vns.lpnu.ua?

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

Browser

Add to Chrome