Ruby Loops

A loop is a piece of code that will run the statements inside until some condition is met. We can use loops to do things like asking a user if they want to keep entering input until they type "done" or "no" or something similar.
There are several different kinds of loops available in Ruby. We can write a loop using the "loop" keyword.