What is the value of the following expression? 3 + 3.00, 3**3.0निम्नलिखित अभिव्यक्ति (expression) का वैल्यू (value) क्या है?
What is the value of the following expression?
3 + 3.00, 3**3.0
निम्नलिखित अभिव्यक्ति (expression) का वैल्यू (value) क्या है?
3 + 3.00, 3**3.0
Show answerHide answer
Correct answer: (D) (6.0, 27.0)(6.0, 27.0)
Explanation
3 + 3.00 gives the float 6.0 and 3**3.0 gives 27.0. Two comma-separated values form a tuple, so the result is (6.0, 27.0).3 + 3.00 float 6.0 देता है और 3**3.0 27.0 देता है। अल्पविराम से अलग दो मान tuple बनाते हैं, इसलिए परिणाम (6.0, 27.0) है।