Confusion about the solution given at 8:06
The question 2 and 3 solutions seem to be confusion for me, since in the question it was asked to display the answer into 3 separate simple sequences, so my answers are
2) L,T,S = loadtxt("data.txt",unpack = True)
3) L,T, S = loadtxt("data.txt",unpack = True,delimiter = ":")
Just clear my doubts since the answers given are
x = loadtxt("data.txt",unpack = True)
x = loadtxt("data.txt",unpack = True,delimiter = ":")
Python-3.4.3 Loading-Data-From-Files 08-09 min 0-10 sec
Answers:
x[0], x[1], x[2] contains the 3 separate simple sequences.
Sorry i was not bale to understand you above answer x[0], x[1],x[2] as it is mentioned x=loadtxt , could you please clarify the same.
17-04-20, 12:39 p.m.
Deb_007
is this because it reads it as string array
22-04-20, 3:26 p.m.
varuntk