Explain the SOLID principles.
Asked in the hiring manager stage. Implement a function that returns the five principles in a deterministic dictionary. When requested, append one concise practical example to each definition.
include_examples is a Boolean. Return a dictionary whose keys are S, O, L, I, and D, in insertion order. Each value must be a concise definition, optionally followed by an example.
include_examples is BooleanS, O, L, I, and Ddef explain_solid(include_examples):