2
answers
1
watching
141
views
14 Nov 2022
Hi, I have a question about Python and Files
What to I do, in order to calculate the total of something out of the file?
For example, the file looks like this:
Day 1
BOAT 1, 67
BOAT 2, 38
BOAT3, 29
Day 2
BOAT 1, 29
BOAT 2, 73
........
and so on.
I want to know how do I calculate all bolded numbers from all days, as well as for separate days. Thank you!
Hi, I have a question about Python and Files
What to I do, in order to calculate the total of something out of the file?
For example, the file looks like this:
Day 1
BOAT 1, 67
BOAT 2, 38
BOAT3, 29
Day 2
BOAT 1, 29
BOAT 2, 73
........
and so on.
I want to know how do I calculate all bolded numbers from all days, as well as for separate days. Thank you!
2
answers
1
watching
141
views
For unlimited access to Homework Help, a Homework+ subscription is required.
kmoorthy069Lv8
4 Feb 2023
Read by 2 people
2118575171Lv1
15 Nov 2022
Already have an account? Log in