В категории материалов: 76
Показано материалов: 51-60
Python. Tuple (Кортеж)
- Description
- Immutability
- Comparisons of tuples
- Assigning Tuples
- Questions
- Exercises
11.2.4.1 create a tuple;
11.2.2.1 perform access to the elements of strings, lists, tuples; |
Python. Lists
- Definition
- Create Lists
- Generating lists
- Indexing lists
- Adding items to the list
- Modifying a list item
- Displaying list items
- Slices of lists
- Removing items
- Lists vs. Arrays
- Questions
- Exercises
11.2.3.1 create a list;
11.2.3.2 organize the output of a string using the split() and join() methods;
11.2.2.1 perform access to the elements of strings, lists, tuples;
11.2.3.6 determine the difference between different data structures;
|
Python. Slicing a string (Срезы строк)
- Strings. Slices
- Questions
- Exercises
11.2.2.2 use slicers to process the string |
Python. Strings (Строки)
- Strings. Indexing
- Negative indexes
- Iterating over the elements of a string.
- Questions
- Exercises
11.2.2.3 apply functions and string processing methods
11.2.2.1 perform access to the elements of strings, lists, tuples
11.2.3.6 determine the difference between different data structures |
Python. Nested loops
- Definition
- Example
- Task 1
- Task 2
- Task 3
- Questions
- Exercises
11.1.2.7 use nested loops when solving problems
11.1.2.6 debug a program
|
Python. FOR loop
- Syntax
- Range
- When to use FOR loop
- Questions
- Exercises
11.1.2.4 write program code using a for loop
11.1.2.5 define a range of values for a loop |
Python. WHILE Loop
11.1.2.1 write program code using a While loop |
Python. Logic operations
- AND, OR, NOT
- Priority of logic operations
- Examples
- Questions
- Exercises
11.1.1.8 use logical operations AND, OR, NOT in selection structure |
Python.
- Selection
- Comparison operations
- if-else statement
- Ternary conditional operator
- if-elif-else statement
- Questions
- Exercises
11.1.1.7 apply logic operations to Boolean variables;
11.1.1.9 implement the branching algorithm according to the flowchart; |