Python by Swaroop C H - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

Summary

We have seen how to use the three control flow statements if,while andfor along with their associatedbreak andcontinue statements. These are some of the most often used parts of Python and hence, becoming comfortable with them is essential.
Next, we will see how to create and use functions.