<AptiCode/>

The ultimate platform for developers to practice, compete, and grow. Join our community of passionate coders today.

TwitterLinkedIn

Platform

ProblemsCompilerAptitude TestsContests

Company

About UsContactRewardsContribute

Legal

Terms of ServicePrivacy PolicyShipping PolicyRefund Policy

© 2025 AptiCode. All rights reserved.

Made withfor developers

topic/Loops

Question NoTitleTypeMarks
412.What will be the output of the following code?for i in range(3): print(i)
MCQ
5
413.Which keyword is used to skip the rest of the code in the current iteration of a loop and move to the next iteration?
MCQ
5
414.What is the purpose of the else block in a Pythonfororwhileloop?
MCQ
5
415.Which loop in Python is used for iterating over a sequence until a specified condition is False?
MCQ
5
416.What does theenumeratefunction do when used in aforloop?
MCQ
5