Examveda

The following Python code is invalid.
class demo(dict):
  def __test__(self,key):
    return []
a = demo()
a['test'] = 7
print(a)

A. True

B. False

Answer: Option B


This Question Belongs to Python Program >> Dictionary In Python

Join The Discussion

Related Questions on Dictionary in Python