I’m reading lines in the file but i want to separate the arguments by spaces how can i do it?
f = open("file.txt" , "r")
a = f.readlines()
for i in a:
i.rstrip("/n")
example output: save Toprak 120
if i add
for j in i:
print(j)
output is:
s
a
v
e
T
o
p
r
a
k
1
2
0
but i want take save
Toprak
etc. separately