Programming With Python (3) : Control Structures
Programming With Python (3) : Control Structures
Control Structures
rograms for real life problems often require non-sequential and repetitive
P
execution of instructions. Python provides control structures to achieve
non-sequential execution and repetitive executions using constructs such as
‘if-else’, ‘for’, and ‘while’
here can be different combinations in which if-else is used. Try to get comfortable
T
using (2) and (3) above first.