Exam4Training

Assuming that the code below has been placed inside a file named code.py and executed successfully, which of the following expressions evaluate to True? (Select two answers)

Assuming that the code below has been placed inside a file named code.py and executed successfully, which of the following expressions evaluate to True? (Select two answers)

A. str(Object) == ‘Object’

B. _name == _main_’

C. ClassA. _module_ == ‘ClassA’

D. len(ClassB.__bases__) == 1

Answer: B,D

Exit mobile version