python print the name of an instance's class code example Example: python get type class name type(x).__name__