Example
Logical Operators and, or, not
Combining conditions with logical operators and, or and not.
Showing 1–10 of 46
Example
Combining conditions with logical operators and, or and not.
Example
Functions enumerate() and range() extend for loop capabilities in Python.
Example
Break (exit) and continue (skip) statements for flow control in loops.
Example
Operator // for floor division and % for remainder (modulo) in Python.
Example
Difference between positional and keyword arguments. Flexible function calling.
Example
Methods sort() and reverse() for ordering list elements.
Example
Accessing list elements by index. Changing and removing elements.
Example
Searching, replacing and splitting text. Advanced string manipulation methods.
Example
Tuples have only two methods: count() for counting and index() for searching.
Example
Accessing individual characters and text fragments. Zero-based indexing in Python.