QuestionQ11Verified/Miscellaneous (List Comprehensions, Lambdas, Closures, I/O)Copy linkReport a problemAsk AstroTutorSave questionWhat is the expected output of this code? Aan exception is raisedB1C0D-1Show AnswerAnswerExplanationThe lambda evaluates 2 % 2 as 0 and 1 % 2 as 1. The function subtracts these values, producing 0 - 1, or -1.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion