class A():
def __init__():
pass
def cprint():
print("A")
class B():
def __init__():
pass
def cprint():
print("B")
class C():
def __init__():
pass
def cprint():
print("C")
obj_list = [A, B, C]
for obj in obj_list:
obj.cprint()