QuestionQ52Verified/Computer Programming and Python FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following statements is correct?Choose twoA7 + False evaluates to FalseBTrue or False evaluates to TrueCTrue + 1 evaluates to 2DTrue and False evaluates to TrueEtype('') returns <class 'bool'>Show AnswerAnswerExplanationPython evaluates True or False as True. Because Boolean values act as integers in arithmetic, True + 1 evaluates to 2.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion