QuestionQ106Verified/Computer Programming and Python FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhat output is expected from this code? print(type(1J)) A<type 'dict'>B<type 'unicode'>C<type 'float'>D<type 'complex'>Show AnswerAnswerExplanation1J is a complex-number literal, so its type is complex. In Python 2, printing that type displays <type 'complex'>.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion