Apr-14-2023, 01:49 AM
for line in lines: # str, '19260701,0.09,-0.22,-0.30,0.009\n' curr_line = line.split() # list, ['19260701', '0.09', '-0.22, '-0.30', '0.009'] my_date = curr_line[0] # str, '19260701'My question is about the notation
for "my_date = curr_line[0]" is it "# str, '19260701'" or #str, '19260701', '0.09', '-0.22, '-0.30', '0.009'
I believe curr_line[0] is 0 index for first string in first list ( '19260701') but im not sure.