[Type A] Python Revision Tour-1 – Chapter 1

|
Table of Contents

18. What is an entry-controlled loop? Which loop is an entry-controlled loop in Python?

An entry-controlled loop is a loop where the condition is tested before entering the loop body. The while loop in Python is an entry-controlled loop because it checks the condition before executing the loop body.

"Spread the light within, illuminate the hearts around you. Sharing is not just an action, but a sacred journey of connecting souls."~ Anonymous

Leave a Reply

Your email address will not be published. Required fields are marked *