QuestionQ87Verified/Object-Oriented ProgrammingCopy linkReport a problemAsk AstroTutorSave questionAssuming the following code has executed successfully, which expressions evaluate to True? Choose twoA'var' in Object.dictB'var' in Class.dictClen(Object.dict) == 1D'prop' in Class.dictShow AnswerAnswerExplanationvar is a class attribute and is therefore present in Class.__dict__. The instance Object receives prop during initialization, so its instance dictionary contains exactly that one attribute.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion