def _push(my_dict, key, element):
 if (key in my_dict):
  my_dict[key].append(element)
 else:
  my_dict[key] = [element]

def _push ( my_dict , key , element ) : if ( key in my_dict ) : my_dict [ key ] . append ( element ) else : my_dict [ key ] = [ element ]
push element to the my_dict[key] list .