Vidyalelo
Python · Q67

Classes and Objects in Python

Programming · Python · question 67

Q67

What is delattr(obj,name) used for?

A.
To print deleted attribute
B.
To delete an attribute
Answer
C.
To check if an attribute is deleted or not
D.
To set an attribute

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board