You can "nest" one loop inside the other. That is, a conditional statement can be placed completely within (nested inside) a condition of another statement.
See Also
Working with Conditional Executors