Python语句pint(type([]))的输出结果是()
未知类型:{'options': ["[ class 'tuple‘]", "[class'dict']", "[ class 'set]", "[class 'list']"], 'type': 102}
未知类型:{'options': ["[ class 'tuple‘]", "[class'dict']", "[ class 'set]", "[class 'list']"], 'type': 102}
举一反三
- 下面代码的输出结果是>>> s =set() >>> type(s) 未知类型:{'options': ["[class 'tuple']", "[class 'dict']", "[class 'list']", "[class 'set']"], 'type': 102}
- 下面代码的输出结果是>>> s = set()>>> type(s) 未知类型:{'options': ["[class 'set']", "[class 'tuple']", "[class 'list']", "[class 'dict']"], 'type': 102}
- Python 语句print(type(1/2))的输出结果是______________。[br][/br](1分) 未知类型:{'options': ['[class ‘int’]', '[class ‘number’]', '[class ‘float’]', '[class ‘double’]'], 'type': 102}
- Python 语句print(type(1//2))的输出结果是______________。[br][/br](1分) 未知类型:{'options': ['[class ‘int’]', '[class ‘number’]', '[class ‘float’]', '[class ‘double’]'], 'type': 102}
- Python语句print(type([1,2,3,4]))的输出结果是() A: <class' tuple'> B: <class' dict'> C: <class' set'> D: <class' list'>