The Python Language
Study of the Python language, including basics, loops, functions, best practices, data structures, etc.
Data Types
In Python, we manipulate data, in the form of static content, or in the form of variables. We will here review the four so-called **primitive** value types.
Strings
Strings are widely used in programming. In Python, several functions make it easier to manipulate these objects.
Tutorial: CSV > Markdown (1)
As a reminder, we saw in the tutorial how to approach manipulating a multi-line string containing CSV format data. The provided example corresponds to the code below:
Loops
The notion of loop is fundamental in computer science. A loop allows executing instructions multiple times, either while a condition is met (using the `while` loop), or by determining the number of __iterations__ that must be performed (using the `for` loop).
Lists
It is possible to "store" several values in the same structure. This type of structure is called a __sequence__.
Tuples
It is possible to "store" several values in the same structure. This type of structure is called a __sequence__.