Looking for Програмування_1_курс_ІПЗ test answers and solutions? Browse our comprehensive collection of verified answers for Програмування_1_курс_ІПЗ at mdl.lntu.edu.ua.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Що виведе даний код?
class Nums:
_def __init__(self, num):
__self.num = num
__print(f'1000 - {self.num}')
Nums( '7' )
class Data:
____def sayHello(self):
________print("Hello World!")
data = Data()
data.seyHello()
class Foo:
____def __init__(self):
________print ('constructor', end=' ')
____self.__del__(self)
____def __del__(self):
________print ('destructor', end=' ')
obj = Foo()