QuestionQ146Verified/Control Flow – Conditional Blocks and LoopsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following statements is true?Choose twoAThe result of the / operator is always an integer value.BThe ** operator uses right-sided binding.CThe right argument of the % operator cannot be zero.DAddition precedes multiplication.Show AnswerAnswerExplanationIn Python, exponentiation using ** is right-associative, and the modulo operator % cannot have zero as its right-hand operand because that causes a ZeroDivisionError.Show comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion