Basic Python Programming: for loops and reading files

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 given the name pet. That is, the first time through the loop pet equals ‘dog’, the second time ................
................