QuestionQ73Verified/Data Collections – Tuples, Dictionaries, Lists, and StringsCopy linkReport a problemAsk AstroTutorSave questionWhat is the expected output from the following code? APaulBMaryCThe code is erroneous.DNone of the above.EPeterShow AnswerAnswerExplanationTrue division produces -0.5, and int(-0.5) truncates toward zero to 0. Index 0 selects the first list element, Peter.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion