list=[] n=int(input(\'number of fields you want to input :- \')) for a in range(1,n+1): a=input(\'name the colom :- \') DbField=list.append(a) db_cursor.exec