Oop In Python
Classes
All the functions in a class should have at least one parameter and by default, we call it self.
self is a reference to the current object
# CREATEING CLASS
class Point:
def draw(self):
print("draw")
# CREATING OBJECT FROM THE...
blog.harshitsaini.com9 min read