# -*- coding: utf-8 -*-
import hashlib


def gen_id(li):
    st = ''.join(li)
    if isinstance(st, unicode):
        st = st.encode('utf-8')
    return hashlib.md5(st).hexdigest()
8113f72a00d33a1fbb44e24ba6fc687b282249b2
<mask token>

<mask token>


def gen_id(li):
    st = ''.join(li)
    if isinstance(st, unicode):
        st = st.encode('utf-8')
    return hashlib.md5(st).hexdigest()

import hashlib


def gen_id(li):
    st = ''.join(li)
    if isinstance(st, unicode):
        st = st.encode('utf-8')
    return hashlib.md5(st).hexdigest()

# -*- coding: utf-8 -*-
import hashlib


def gen_id(li):
    st = ''.join(li)
    if isinstance(st, unicode):
        st = st.encode('utf-8')
    return hashlib.md5(st).hexdigest()