def assignform(collist):
    s = ' '
    for col in collist:
        s += (col + '=?,')
    return s.rstrip(',')
def assignform(collist):
    s = ' '
    for col in collist:
        s += (col + '=?,')
    return s.rstrip(',')