Basic Python Programming: for loops and reading files

through the loop pet equals ‘cat’, and so on. We loop through the indented block of code for each item in the pets list. After we process the last item, ‘Maine Coon cat’ we exit the loop. lines 4 & 5 : We set the name length to the length of whatever string is named ‘pet’. For example, the first time through the loop ................
................