The second ionization potentials in electron volts of oxygen and fluorine atoms are respectively given by -
38.3, 35.1
Second ionisation potential is the energy required to remove an electron from unipositively charged ion
0 → E.C 1 s2 2 s2 2 p4 O+ - 1 s2 2 s2 2 s3
F → E.C 1 s2 2 s2 2 p5 F+ - 1 s2 2 s2 2 p4
0 → O+ I.P2 F → F+ I.P2
0 → O+2 I.P2 I+ →I+2 I.P2
I.P1 of F > O as fluorine has less atomic size compared to O.
I.P2 of O > F as O+ has filled P- sub shell.