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

आउटपुट निर्धारित करें:

Determine the output:

for i in range(20, 30, 10) :
        j=i/2
        print(j)

A
10 15
B
10.0 15.0
C
10.0
D
None of these
Explanation

The range(20, 30, 10) produces values 20 (and stops before 30). In the loop:

  • When i = 20, j = 20 / 2 = 10.0.
  • The output is 10.0.

So, the answer is (C) 10.0.

Correct Answer: C) 10.0

Latest Updates