QuestionQ289Verified/Computer Programming and Python FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhat output is expected from the following code? print(1 // 2) A0.5B0.0CNone of the above.D0Show AnswerAnswerExplanationPython’s // operator performs floor division. The result of 1 // 2 is 0, which is printed.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion