View Python Declare Variable Type Pictures. Variables are containers for storing data values. Think of it like c void* pointers:

How To Declare An Array In Python Stack Overflow
How To Declare An Array In Python Stack Overflow from i.stack.imgur.com
Think of it like c void* pointers: Declaration of variables is not required in python. This means that when you create a variable you python variables do not need explicit declaration to reserve memory space.

If there is need of a variable, you think.

The declaration happens automatically when you assign a value to a variable. You can easily get the type of any variable using the simple method. Also, you can change the data type of variables in python i.e a variable of integer data type can be converted to string data type and so on. Python supports integers (numbers), floating point numbers, booleans (true or false) and strings (text).