how do i delete the first, third, fifth and sixth column of a text file in python : So I want to delete the first and third column of this text file my text file Looks like this:

10	11	12	46	48	39
20	21	22	34	23	24
30	31	32	78	29	38
40	41	42	21	43	12

My Code Looks like this:

`f = open("Exercise2.txt", "r")
g = open("Output.txt", "w")

for line in f:
    if line.strip():
        g.write("\t".join(line.split()[1:-1]) + "\n")

f.close()
g.close()`

But i cant delete a column in between two columns that i want to stay. How do i do that?