lst = [['cp1', 'cp2'], ['ac1', 'ac2'], ['12/12/2020', '12/12/2020']]
i want to write in a csv file as below
cp1;ac1;12/12/2020
cp2,ac2,12/12/2020
but the length of lst is not fixed it is dynamic (here it is 3 but can be N) . how ever lists in lst will have same number of element (in above example 2 ) .
can anybody give me suggestion . I am new in python .