By now, you have learned the basic principles of interacting with Sage. We will now unlock the power of the Python programming language. The programmatic features of Python complement the mathematical features of Sage.
In this chapter, we shall learn how to:
Use lists and tuples to store sequential data
Iterate with loops
Construct logical tests with "if" statements
Read and write data files
Store heterogeneous data in dictionaries
So, let's start programming…