Introduction
Programs may contain set of statements. These
statements are the executable segments that yield the result. In general,
statements are executed sequentially, that is the statements are executed one
after another. There may be situations in our real life programming where we
need to skip a segment or set of statements and execute another segment based
on the test of a condition. This is called alternative or branching. Also, we may
need to execute a set of statements multiple times, called iteration or looping.
In this chapter we are to focus on the various control structures in Python,
their syntax and learn how to develop the programs using them.
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.