Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
425 B
2
Indexable
Never
def analysis_data(filename):
    files=open(filename,"r")
    file_name = files.readlines()
    for i in file_name:
        newfiles=i.split("\n")[:-1]
        newv3=newfiles[0].split(",")
        first= (newv3[0:1][0])
        #second= (newv3[1:2][0])
        #third=(newv3[2:3][0])
        #fourth= (newv3[3:4][0])
        #result = sum(map(int, first))
        #result = sum(float(x) for x in first)
        print(first)