Example
Basic Data Types
Python recognizes different data types automatically. Learn int, float, str and bool.
Showing 1–10 of 14
Example
Python recognizes different data types automatically. Learn int, float, str and bool.
Example
Changing data types using int(), float() and str() functions. Converting between types.
Example
Python allows changing variable type during program execution. This is dynamic typing.
Example
Combining regular parameters, *args and **kwargs in one function.
Example
Tuples have only two methods: count() for counting and index() for searching.
Example
Parameters allow passing data to functions. Functions become more flexible.
Example
Lists store multiple elements in a specific order. Basics of working with lists.
Example
Functions can return complex data structures like dictionaries or lists.
Example
Sets store only unique elements without a specific order.
Example
Tuples are immutable lists. Once created, they cannot be modified.