Python pattern

Retry & idempotency

4 problems in this pattern, climbing easy → medium → hard. Pick wherever you're calibrated.