Python语句a=121+1.21;print(type(a))的输出结果是【 】。
A: <class 'int'>
B: <class 'float>
C: <class 'double'>
D: <class "long'>
A: <class 'int'>
B: <class 'float>
C: <class 'double'>
D: <class "long'>
举一反三
- 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)的输出结果是哪一项?( ) A: <class 'int'> B: <class 'number'> C: <class 'float'> D: <class 'double'>
- Python 语句print(type(1//2))的输出结果是: A: <class ‘int’> B: <class ‘float’> C: <class ‘list’> D: <class ‘str’>
- print(type(lambda:3))的输出结果是? <class 'float'>|<class 'NoneType'>|<class 'function'>|<class 'int'>
- type(1+2L*3.14)的结果是: A: <class ‘int’> B: <class ‘long’> C: <class ‘float’> D: <class ‘str’>