i have a txt named "hightemp.txt" I want to use Python to save its first column in col1.txt and the second column in col2.txt. Then combine col1.txt and col2.txt to generate a new TXT. please help me , thanks Here is the content of "hightemp.txt" A AA 41 2013-08-12 B BB 40.9 2007-08-16 C CC 40.9 2007-08-16 D DD 40.8 1933-07-25 E EE 40.7 2013-08-10 F FF 40.6 1994-08-08 G GG 40.6 1994-08-04 H HH 40.5 2013-08-10 I II 40.4 2007-08-16 J JJ 40.3 2007-08-16 K KK 40.3 1998-07-04 L LL 40.3 1994-08-05 M MM 40.2 2004-07-20 N NN 40.2 2001-07-24 O OO 40.2 1927-07-22 P PP 40.1 1978-08-03 Q QQ 40 2007-08-16 R RR 40 2001-07-24 S SS 39.9 2013-08-11 T TT 39.9 1997-07-05 U UU 39.9 1994-08-08 V VV 39.9 1990-07-19 W WW 39.9 1978-08-03 X XX 39.9 1942-08-02
i have a txt named "hightemp.txt"
I want to use Python to save its first column in col1.txt and the second column in col2.txt.
Then combine col1.txt and col2.txt to generate a new TXT.
please help me , thanks
Here is the content of "hightemp.txt"
A AA 41 2013-08-12
B BB 40.9 2007-08-16
C CC 40.9 2007-08-16
D DD 40.8 1933-07-25
E EE 40.7 2013-08-10
F FF 40.6 1994-08-08
G GG 40.6 1994-08-04
H HH 40.5 2013-08-10
I II 40.4 2007-08-16
J JJ 40.3 2007-08-16
K KK 40.3 1998-07-04
L LL 40.3 1994-08-05
M MM 40.2 2004-07-20
N NN 40.2 2001-07-24
O OO 40.2 1927-07-22
P PP 40.1 1978-08-03
Q QQ 40 2007-08-16
R RR 40 2001-07-24
S SS 39.9 2013-08-11
T TT 39.9 1997-07-05
U UU 39.9 1994-08-08
V VV 39.9 1990-07-19
W WW 39.9 1978-08-03
X XX 39.9 1942-08-02
![A
AA
41
2013-08-12
В
ВВ
40.9
2007-08-16
CC
40.9
2007-08-16
D
E
F
DD
40.8
1933-07-25
ЕЕ
40.7
2013-08-10
FF
40.6
1994-08-08
GG
40.6
1994-08-04
HH
40.5
2013-08-10
II
40.4
2007-08-16
JJ
40.3
2007-08-16
K
KK
40.3
1998-07-04
L
M
LL
40.3
1994-08-05
MM
40.2
2004-07-20
N
40.2
2001-07-24
00
40.2
1927-07-22
PP
40.1
1978-08-03
Q
R
S
QQ
40
2007-08-16
RR
40
2001-07-24
2013-08-11
1997-07-05
SS
39.9
TT
39.9
UU
39.9
1994-08-08
V
W
VV
39.9
1990-07-19
ww
39.9
1978-08-03
XX
39.9
1942-08-02](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F061c3ecf-983b-4cd7-91e5-61f0ac5b2ff5%2Fb20db850-f755-4f31-91d4-9196bc9413d9%2F965erw9_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 3 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)