With a function, we can define how often a loop runs its code by using a parameter like bookings in the loop's condition.

Make sure to pick bookings, followed by bookings.