the answer practice/tracks/learn-python-3/modules/learn-python3-classes/lessons/data-types code example
Example: oop in python
class Object:
#__init__() is called when you create an Object class
def __init__(self,arg):
#stores argument in self
self.arg = arg
def printArg(self):
#calls argument from self
print(self.arg)