class SerieStat:

    def __init__(self,C,E):

        # C et E sont deux listes de mêmes dimensions

        if len(C) != len(E): print('Error : lists must to have same dimensions')

        else: self.tab = dict(zip(C, E))

    def affiche(self):

        for key,value in self.tab.items():

            print(key,":",value)