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

निम्नलिखित Python अभिव्यक्ति में x का मान क्या होगा?

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


x = int(43.55+2/2)
print(x)

A
43
B
44
C
22
D
23
Explanation

x = int(43.55 + 2 / 2)
print(x)
Step-by-step:
1. पहले डिविज़न (/) होता है:

2 / 2 = 1.0


2. फिर जोड़:

43.55 + 1.0 = 44.55


3. int() से कनवर्जन:
int(44.55) → Decimal हटाकर केवल integer हिस्सा लेता है, यानी 44

✅ Final Answer: 44

Correct Answer: B) 44

Latest Updates