Python 语句print(type(1//2))的输出结果是:
A: <class ‘int’>
B: <class ‘float’>
C: <class ‘list’>
D: <class ‘str’>
A: <class ‘int’>
B: <class ‘float’>
C: <class ‘list’>
D: <class ‘str’>
举一反三
- Python语句print(type(1/2)的输出结果是哪一项?( ) A: <class 'int'> B: <class 'number'> C: <class 'float'> D: <class 'double'>
- Python语句a=121+1.21;print(type(a))的输出结果是_____。 A: <class ‘int’> B: <class‘float’> C: <class‘double’> D: <class‘long’>
- Python语句print(type({1,2,3,4}))的输出结果是________。 A: <class ‘tuple’> B: <class ‘set’> C: <class ‘dict’> D: <class ‘list’>
- print(type(lambda:3))的输出结果是? <class 'float'>|<class 'NoneType'>|<class 'function'>|<class 'int'>
- Python语句print(type(['a','1',2,3]))的输出结果是哪一项? A: <class 'list'> B: <class 'disc'> C: <class tuple' > D: <class 'set'>