CBSE Class 11 Computer Science
Question 16 of 25
Python Fundamentals — Question 12
Back to all questions 12
Question Question 12
What will be returned by Python as result of following statements?
(a) >>> type(0)
<class 'int'>
(b) >>> type(int(0))
<class 'int'>
(c) >>>.type(int('0')
SyntaxError: invalid syntax
(d) >>> type('0')
<class 'str'>
(e) >>> type(1.0)
<class 'float'>
(f) >>> type(int(1.0))
<class 'int'>
(g) >>>type(float(0))
<class 'float'>
(h) >>> type(float(1.0))
<class 'float'>
(i) >>> type( 3/2)
<class 'float'>