def insertData(table, columns, values):
    """ table is a string for table name
    columns is string and values is tuple (no quote)
    table = school_tab
    columns = (student, studied, grade, age, sex)
    values = ('Lion-O', 'True', 85, 24, 'Male')
    """
    query = 'INSERT INTO ' + table + ' ' + columns + f'VALUES {values};'
    return query