I have below Python code:
class Shape(object):
def draw(self):
raise NotImplementedError
class Triangle(Shape):
def draw(self):
print("draw triangle")
class Square(Shape):
def draw(self):
print("draw square")
t = Triangle()
I want to get the instance t
's class's name(string).
How can I get it?