This chapter will cover the core concepts of all programming languages. This includes conditional statements, loops, functions, and packages. We will see that these concepts are pretty much the same in Python as they are in other programming languages, except for some syntactical differences. But syntax just requires practice; everything else will fall into line automatically. The topics that we are going to cover in this chapter are as follows:
- Conditional statements
- Loops
- Functions
- Modules and packages
- Comprehensions and generators