The way that my reference book is describing these two loops, they seem to two different ways to do the same thing?

Thanks in advance.