निम्नलिखित Python का कोड क्या है?
What is the value of the following Python code ?
>>>print(36 / 4)
A)
B)
C)
D)
Explanation:
The Python code print(36 / 4)
will perform division, and in Python 3, division always returns a floating-point number, even if the result is a whole number.
So, the result of 36 / 4
will be 9.0
, which is a float.
Thus, the correct answer is:
(C) 9.0