class Test: def __init__(self,name): self.name=name def print_name(self): print(self.name)