4
answers
1
watching
139
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 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 numbers from all days, as well as for separate days. Thank you!
kapikad1451Lv6
25 Dec 2022
16 Nov 2022
Already have an account? Log in
christopherc63Lv10
14 Nov 2022
Already have an account? Log in
Read by 1 person
kibettitus2020Lv10
14 Nov 2022
Already have an account? Log in