QuestionQ126Verified/Functions and ExceptionsCopy linkReport a problemAsk AstroTutorSave questionWhat is the expected output from the following code? A1BPeterCNoneDvalueEThe code is erroneous.Show AnswerAnswerExplanationThe dictionary assignment succeeds, but the function does not explicitly return a value. In Python, a function with no return statement returns None, which print outputs.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion