Image for post
Image for post

A controversial title, no? So what does it mean that everything in python is an object? Everything is an object in the sense that it can be assigned to a variable or passed as an argument to a function. Actually almost everything in python has attributes or methods. For example, an integer in Python is an object or a string, absolutely everything is an object.

Let’s assign some values to a variable. Which essentially means that we make example refer to the “Holberton” object of type string.

Facundo Diaz


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store