Q. What will be the value of X in the
following Python expression?
X = 2+9*((3*12)-8)/10

  • (A) 30.0
  • (B) 30.8
  • (C) 28.4
  • (D) 27.2
πŸ’¬ Discuss
βœ… Correct Answer: (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.

Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
621
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate