0 added
0 removed
Original
2026-01-01
Modified
2026-02-21
1
<p>Programming becomes interesting when you can work with sets of elements.</p>
1
<p>Programming becomes interesting when you can work with sets of elements.</p>
2
<p>There are just a few examples where they appear:</p>
2
<p>There are just a few examples where they appear:</p>
3
<ul><li>Paginated data output on the website</li>
3
<ul><li>Paginated data output on the website</li>
4
<li>Calculate the order total based on the price of each item</li>
4
<li>Calculate the order total based on the price of each item</li>
5
<li>Displaying a list of friends, messages, movies, and the like</li>
5
<li>Displaying a list of friends, messages, movies, and the like</li>
6
<li>Processing a set of DOM nodes (HTML, frontend development)</li>
6
<li>Processing a set of DOM nodes (HTML, frontend development)</li>
7
</ul><p>Every list we encounter in a real or virtual world is, from a programmer's point of view, a collection of items. Python uses<strong>lists</strong>, a data structure that allows you to work with the set as a single entity:</p>
7
</ul><p>Every list we encounter in a real or virtual world is, from a programmer's point of view, a collection of items. Python uses<strong>lists</strong>, a data structure that allows you to work with the set as a single entity:</p>
8
<p>Unlike primitive data types, lists can change in Python, both the contents and the size of the list itself. It affects how we handle them, adding more power but also responsibility.</p>
8
<p>Unlike primitive data types, lists can change in Python, both the contents and the size of the list itself. It affects how we handle them, adding more power but also responsibility.</p>
9
<p>With lists, we can solve the problem in many different ways. Only some will be good, while the rest will be inefficient and difficult to debug and analyze.</p>
9
<p>With lists, we can solve the problem in many different ways. Only some will be good, while the rest will be inefficient and difficult to debug and analyze.</p>
10
<p>It is why we devote an entire course to lists, not just a few lessons.</p>
10
<p>It is why we devote an entire course to lists, not just a few lessons.</p>
11
<p>This course covers many cases where programmers commonly use lists. The knowledge gained in this course will be the foundation for all future learning.</p>
11
<p>This course covers many cases where programmers commonly use lists. The knowledge gained in this course will be the foundation for all future learning.</p>
12
<p>The main topics of this course are</p>
12
<p>The main topics of this course are</p>
13
<ul><li>Operations on lists</li>
13
<ul><li>Operations on lists</li>
14
<li>Working with lists in loops</li>
14
<li>Working with lists in loops</li>
15
<li>Working with nested lists using nested loops</li>
15
<li>Working with nested lists using nested loops</li>
16
<li>Sorting lists</li>
16
<li>Sorting lists</li>
17
<li>Working with strings through lists</li>
17
<li>Working with strings through lists</li>
18
</ul><p>In addition to lists, we'll also cover algorithms and data structures in this course. We will discuss the concept of algorithmic complexity and learn how to implement some basic algorithms, which will help in job interviews. Knowledge of these topics is essential to writing effective code.</p>
18
</ul><p>In addition to lists, we'll also cover algorithms and data structures in this course. We will discuss the concept of algorithmic complexity and learn how to implement some basic algorithms, which will help in job interviews. Knowledge of these topics is essential to writing effective code.</p>
19
<h2>How to prepare for this course</h2>
19
<h2>How to prepare for this course</h2>
20
<p>Before learning about lists, you need to master the basic syntax of the programming language:</p>
20
<p>Before learning about lists, you need to master the basic syntax of the programming language:</p>
21
<ul><li><a>Python Basics</a></li>
21
<ul><li><a>Python Basics</a></li>
22
</ul><p>For the correct sequence of courses, see the<a>Python Developer</a>.</p>
22
</ul><p>For the correct sequence of courses, see the<a>Python Developer</a>.</p>