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.



Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad