Example
Creating Lists
Lists store multiple elements in a specific order. Basics of working with lists.
Showing 1–10 of 11
Example
Lists store multiple elements in a specific order. Basics of working with lists.
Example
How to create text and join it in Python. Basics of working with strings.
Example
Adding and removing elements from a set. Basic set operations.
Example
Union, intersection and difference of sets. Mathematical operations from set theory.
Example
Operator * allows accepting any number of positional arguments.
Example
Sets store only unique elements without a specific order.
Example
Dictionaries store data as key-value pairs. Fast access to data by key.
Example
Tuples are immutable lists. Once created, they cannot be modified.
Example
Adding and removing elements from list. Methods append, insert, pop and remove.
Example
Accessing list elements by index. Changing and removing elements.