/main/
PCEP-30-02 часть третья
Привет, Мир! Продолжаем!
Section 3: Data Collections – Tuples, Dictionaries, Lists, and Strings (25%)
PCEP-30-02 3.1 – Collect and process data using lists
- constructing vectors
- indexing and slicing - Python List Slicing
- the len() function - Функция len() в Python, количество элементов объекта
- list methods: append(), insert(), index(), etc. - More on Lists
- functions: len(), sorted() - Возможности и примеры функции sorted в Python
- the del instruction - The del statement
- iterating through lists with the for loop - Iterate over a list in Python
- initializing loops
- the in and not in operators - Операторы in и not in в Python
- list comprehensions - List Comprehensions
- copying and cloning - Python | Cloning or Copying a list
- lists in lists: matrices and cubes - Работа с вложенными списками в Python
PCEP-30-02 3.2 – Collect and process data using tuples
- tuples: indexing, slicing, building, immutability - Tuples and Sequences
- tuples vs. lists: similarities and differences
- lists inside tuples and tuples inside lists
PCEP-30-02 3.3 Collect and process data using dictionaries
- dictionaries: building, indexing, adding and removing keys - Dictionaries
- iterating through dictionaries and their keys and values - Looping Techniques
- checking the existence of keys - Check whether given Key already exists in a Python Dictionary
- methods: keys(), items(), and values()
PCEP-30-02 3.4 Operate with strings
- constructing strings
- indexing, slicing, immutability - Why are Python Strings Immutable?
- escaping using the \ character - Escape Sequences in Python
- quotes and apostrophes inside strings - How To Format Text in Python 3
- multi-line strings - 4 Techniques to Create Python Multiline Strings
- basic string functions and methods - string — Common string operations
date: 05.08.2023
/main/