In Python - For Example : print("Hello World")
Here print is a function and "Hello World" is a parameter.
When we write name = "Gokul" here name is an IDENTIFIER. It points to an address in RAM. SO identifier is just a Label. That can be used to point to any address. So, it can overwritten. In python there is no variables, only Identifiers.
In python, everything is considered as Objects.
For example - A Car - This has Functionality and Attributes.
In python - we have a function called dir() which gives you all details about an object.
Top comments (0)