Chapter 1, 2
- print() function
- Mathematical expressions
- Variables and types
- type() function
- int(), float(), str() functions
- f strings
- Using math functions
|
Chapter 3
- While loops
- Boolean expressions
- Conditions: <=, ==, !=, ...
- Logical Operations: and, or, not
- Lists
- len() function
- append() function
- del operation
- in operation
- for loops
- range() function
- list compression
- zip() function
- Nested loops
- Nested lists
- Tuples
|
Other
- input() function
- random.randint() function
Possible Question Types
- Calculate values and print them.
- Fix an error in the code.
- Complete incomplete code.
- Demonstrate the use of a function.
- Write a loop.
- Convert from one kind of loop to another.
- Create or modify a list.
- Get data from the user.
|