def shorten_key_ids(key_id_list):
 short = []
 for key in key_id_list:
  short.append(key[(-8):])
 return short

def shorten_key_ids ( key_id_list ) : short = [ ] for key in key_id_list : short . append ( key [ ( - 8 ) : ] ) return short
takes a list of key ids .