Loops are a fundamental construct of many programming languages. Looping over a collection of values is one of the most common patterns used in programming. Before I started formally learning Ruby and JavaScript, I was teaching myself Python. While learning Python I came to really love the for loop. A…