Posted by: Pdfprep
Post Date: December 20, 2020
Assuming that the following piece of code has been executed successfully, which of the expressions evaluate to True? (Select two answers)
A . obj_b.prop_a == 3
B . hasattr(obj_b, ‘prop_aa’)
C . isinstance(obj_c,A)
E . VarA == 3
Answer: B,C
Leave a Reply