def format_cmd2pml(res_list: list,pdb_code:str) -> list:
    """
    make pml cmd sentence from res list and store in a list.
    :param res_list: [(chain ID,res number), ....]
    :return: list of command
    """
    cmd_list = []
    for chain_id, res_number in res_list:
        chain_id = str(chain_id).strip()
        res_number = str(res_number).strip()
        cmd_list.append(f'color red , /{pdb_code.lower()}/{chain_id}/{chain_id}/{res_number}\n')
    return cmd_list