def match_list(list,bonus,score):
    """
    check if there are one continuous sequence in the list which mach the bonus list
    :param list: origin input list etc [0xe9, 0x1c, 0xbd, 0xe9, 0x1c, 0x1c]
    :param bonus: bonus list []
    :param score: rate for the bonus:1/3/5
    :return: if match,return the score,else return 0
    """
    bonus_score = 0
    for i in range(len(list) - len(bonus) + 1):
        check_list = []
        for j in range(len(bonus)):
            check_list.append(list[i + j])
        #print(check_list)
        if check_list == bonus:
            bonus_score = score
    return bonus_score