Compound statements

So far, each line of code that you have written gets executed exactly once and immediately after it is written. Compound statements are Python structures that allow you to control when and how certain pieces of code get executed. Compound statements significantly increase your expressiveness as a programmer. In other words, they allow you to do more with less code. Before introducing a few compound statements, it will be helpful to go over the syntactical structure.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset