🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा

What will be the output of following expression:

print(10/2+3*5)
A
20.0
B
20
C
40.0
D
40
Explanation

Let's break down the expression 10/2 + 3*5:

  1. Division: 10 / 2 = 5.0 (division in Python always returns a float).
  2. Multiplication: 3 * 5 = 15.
  3. Addition: 5.0 + 15 = 20.0.

So, the result is 20.0.

Answer: (A) 20.0

Correct Answer: A) 20.0

Latest Updates