I have this data found in a .txt file:
Round 1
Data Point 0: time= 0.0[hour], movement= 0.5[feet]
Data Point 1: time= 3.2[hour], movement= 5.54[feet]
Data Point 2: time= 10.1[hour], movement= 6.4[feet]
Data Point 3: time= 14.0[hour], movement= 7.02[feet]
+++++++++++++++++++++++++++++++++++++++++++++
Round 2
Data Point 0: time= 0.0[hour], movement= -5.2[feet]
Data Point 1: time= 2.3[hour], movement= 3.06[feet]
Data Point 2: time= 8.9[hour], movement= 4.07[feet]
Data Point 3: time= 9.4[hour], movement= 9.83[feet]
And, I would like to get the time and movement data and put them into two separate lists for Round 1 and Round 2. An example output:
time_1 = [0.0, 3.2, 10.1, 14.0]
movement_1 = [0.5, 5.54, 6.4, 7.02]
And, an identical format for Round 2. I know the general method of calling and opening the file with a with statement as well as using for and if statements to see what is in each line but, I don't quite know how to handle each Round's data separately as well as the separator +++++.