What do you want to save?
Add Code snippet
New code examples
-
Python 2021-08-27 19:00:01
dot operator in python
# In python, almost everything is an object # An object is defined in a class # An object has methods (its own functions) and attributes (its own variables) # So a dot refers to a method (followed by () to call the method) or an attribute (no () because i... Add solution