2
answers
1
watching
141
views

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!

 

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Avatar image
Read by 2 people
Already have an account? Log in

Related questions

Related Documents

Weekly leaderboard

Start filling in the gaps now
Log in