Learning objectives#
Chapter two presents some essential programming concepts and how to apply them in the Python language. This chapter covers the necessary background to create your own basic programs and use common data structures and operations in Python.
Learning objectives
At the end of this chapter, you should be able to:
Define and use variables, and convert between data types
Describe index variables and how they are used in Python collections
Utilize for loops to repeat actions in a program
Use conditional statements to decide which parts of a program to execute
Create functions to make it easy to use and re-use parts of your programs
Understand how to create your own Python script files and use Python modules