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)
D) len(ClassB.__bases__) == 1 is also correct. The `__bases__` attribute of a class returns a tuple of its base classes, and we're checking the length of this tuple.
B) _name == _main_ is the correct answer. The `__name__` variable is set to `'__main__'` when the script is executed directly, and to the module name when it's imported.
Albina
Dahlia
4 days agoKina
5 days agoKaran
28 days agoCiara
1 months agoPaz
4 days agoKing
7 days agoBarabara
1 months agoMiss
2 months ago