How can you implement Flask route variables?
Instruction: Describe how to define dynamic routes in Flask that accept variables.
Context: Candidates should explain how to use variable rules in Flask routes to capture values from the URL.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
Put a variable section in a route and Flask passes the matched value to the view as a keyword argument. A converter controls matching and conversion; the default string converter accepts one path segment, while path can include slashes.
```python from flask import Flask...