Report Bug

Qus

What will be the value of X in the following Python expression?

x = 2+9*((3*12)-8)/10
Qus

निम्नलिखित पायथन एक्सप्रेशन में X की वैल्यू क्या होगी ?

x = 2+9*((3*12)-8)/10


A. 30.0
B. 30.8
C. 28.4
D. 27.2


Solution
D. 27.2



Explanation
The expression shown above is evaluated as: 2+9*(36-8)/10, which simplifies to give 2+9*(2.8), which is equal to 2+25.2 = 27.2. Hence the result of this expression is 27.2.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad