liveBook · Manning

Repetition

Repetition is the recurrence or repeated application of an action, operation, element, or pattern.

How 2 Manning books explain it

Design for Developers

Repetition is a design principle that applies consistent visual elements, styles, components, or layouts to create unity and recognizable patterns.

How it is used
Establishes consistent visual and component patterns that orient users and unify website and brand experiences.
How deep it goes
Defines repetition and explains its visual, usability, component, scalability, and performance implications without implementation detail.
Examples
Uses blog post typography, hotel listings, brand color and type, add-to-cart buttons, and stock-status treatments.
What you can do after
Apply it via reusable styles and components to create cohesive, scannable interfaces with recognizable actions.

Read how Design for Developers explains repetition →

Get Programming: Learn to code with Python

Repetition is the performance of a task or sequence of steps more than once.

How it is used
Uses repetition to generate repeated strings and automate commands that would otherwise require duplicated statements.
How deep it goes
Explains string multiplication, loop execution, termination, range(N), and unrolling, but stops short of broader loop varieties.
Examples
Uses hangman markers, greetings, shampoo instructions, bread recipes, and a range(3) loop printing 0, 1, and 2.
What you can do after
Apply repetition via Python string multiplication and for loops with explicit counts and stopping conditions.

Read how Get Programming: Learn to code with Python explains repetition →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.