Basic Python Programming: for loops and reading files

Here I put lines numbers on the right so I can talk about what I typed—the numbers are not part of what I typed in. line 1 : We create a list named ‘pets’ line 2 : We create a name ‘total’ with the value 0. line 3 : The start of the for loop. We are iterating through the list pets , each element of the list is in turn ................
................