निम्नलिखित Python का कोड क्या है?
What is the value of the following Python code ?
>>>print(36 / 4) A
9
B
4
C
9.0
D
4.0
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
Correct Answer: C) 9.0