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

निम्नलिखित अभिव्यक्ति किस मूल्य का मूल्यांकन करती है?

What value does the following expression evaluate to ?

x = 5
while x < 10:
print(x, end='')
A)
B)
C)
D)

Explanation:

Sure!

Since x is always 5 and there's no change to x inside the loop, the condition x < 10 will always be true. This causes the loop to run infinitely.

So, the result is an infinite loop.

Answer: (C) Infinite loop.

Latest Updates