Report Bug

QusWhich of the following is true for nested loops in Python? Qusपायथन में नेस्टेड लूप के लिए निम्नलिखित में से कौन सा सत्य है?


A. The outer loop must run fewer times than the inner loop.
B. Only for loops can be nested.
C. Both for and while loops can be nested.
D. The inner loop runs only once for each iteration of the outer loop.


Solution
C. Both for and while loops can be nested.



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad