Python的基本内置类型时间:2022-02-12 16:59:44 Numbers: 1234, 3.1415, 999L, 3+4j, Decimal Strings: ’spam’, “guido’s” Lists: [1, [2, ‘three’], 4] Dictionaries: {’food’: ’spam’, ‘taste’: ‘yum’} Tuples: (1,’spam’, 4, ‘U’) Files: myfile = open(’eggs’, ‘r’) Other types: Sets, types, None, Booleans