>>> class A:
def __init__(self,b):
self.b=b
def display(self):
print(self.b)
>>> obj=A("Hello")
>>> del obj
a) True
b) False
Is the following Python code correct?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Is the following Python code correct?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!