Vidyalelo
Python · Q7

Classes and Objects in Python

Programming · Python · question 7

Q7

How can you delete an attribute of an object in Python?

A.
By using the del keyword
Answer
B.
By using the remove() method
C.
By using the delete() method
D.
By using the erase() method

Answer: Option A

Solution

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