Some Basics of Python

Python binds the name to the expression’s value

Python is loosely typed in a way that names are not required to be declared for their types. You can simply assign any type of data to a single variable

For example:

>>> x = 1 # x is a name bound to value 1

>>> x = ‘Hello’ # same name now stores a string

>>> print x



Python is a strong object oriented in a way that everything is an object; be it is a string, number, function, exception, etc. everything is just an object.

Leave a Reply

Your email address will not be published. Required fields are marked *