type(x).__name__
class Vehicle: def name(self, name): return name v = Vehicle() print(v.__class__.__name__)
x.__class__.__name__