Example
Creating and Joining Strings
How to create text and join it in Python. Basics of working with strings.
Showing 11–20 of 46
Example
How to create text and join it in Python. Basics of working with strings.
Example
Operator ** for exponentiation and calculating roots in Python.
Example
Parameters sep and end let you control separator and line ending in print function.
Example
Local variables exist only inside functions. Global ones are accessible everywhere.
Example
Adding and removing elements from a set. Basic set operations.
Example
Adding, changing and removing dictionary elements in Python.
Example
Namespaces isolate variables. Modules and functions create their own namespaces.
Example
Union, intersection and difference of sets. Mathematical operations from set theory.
Example
…to use tuples instead of lists? Comparison of properties and applications.
Example
Adding and removing elements from list. Methods append, insert, pop and remove.