def addElementToListTable(element, key, listTable):
 if (key in listTable):
  listTable[key].append(element)
 else:
  listTable[key] = [element]

def addElementToListTable ( element , key , listTable ) : if ( key in listTable ) : listTable [ key ] . append ( element ) else : listTable [ key ] = [ element ]
add an element to the list table .