QuestionQ259Verified/Computer Programming and Python FundamentalsCopy linkReport a problemAsk AstroTutorSave questionConsider the following Python code: What are the data types of z1, z2, and z3?Astr, str, strBstr, float, floatCstr, int, intDstr, int, floatShow AnswerAnswerExplanationMultiplying a string by an integer produces a repeated string, so z1 is str. Python’s / operator performs true division and returns a float; therefore, both z2 and z3 are float.Learn moreBuilt-in Types — Python documentationAn Informal Introduction to Python — Python documentationShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion