Skip to main content

Practice ยท 4 of 4

Capstone Warmup: Max Gap

Write max_gap(numbers) returning the largest difference between adjacent values in the list (None for lists with fewer than 2 items).

Difficulty: beginner

Back to lesson: Practice: Transformation & AI Critique