Confusion about the solution given at 8:06
Title
Question
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.
Login to add comment