# What is Loop?

In code, a control structure that repeats work for each item or until a condition stops it.

## In real work

Check the loop bounds so the agent did not skip the last item in the list.

## Related terms

- [Variable](https://prompthausapp.com/learn/variable.md)
- [String](https://prompthausapp.com/learn/string.md)
- [Integer](https://prompthausapp.com/learn/integer.md)
- [Boolean](https://prompthausapp.com/learn/boolean.md)
- [Array](https://prompthausapp.com/learn/array.md)

## How is this different from Googling it?

Google gives a definition. Prompthaus pairs each term with how it shows up in standups, PRs, prompts, and design reviews—then quizzes you until the word sticks. One term a day on iPhone.

- Category: Code Literacy
- HTML: https://prompthausapp.com/learn/loop
- App Store: https://apps.apple.com/us/app/prompthaus-ai-vocabulary/id6776314407
