Practice ยท 1 of 2
Status Verdicts
Implement classify(status: int) -> str returning exactly one of: 'ok' (2xx), 'redirect' (3xx), 'client_error' (4xx), 'server_error' (5xx), 'invalid' (anything else, including < 100 or > 599).
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: HTTP Semantics Drills