Advertisements
Advertisements
प्रश्न
How many times are the following loop executed?
i=2
while (i<=25)
print iअति संक्षिप्त उत्तर
Advertisements
उत्तर
Since the value of i is never changed, i always remains 2 and the condition i <= 25 is always true.
Infinite times (Infinite loop)
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
