Skip to content

Narrowing practice problems in Python

Difficulty:
Category & tags Filters active
Category:
Tag:

Showing 12 of 12

Title Difficulty
Build a Generic Result Class Medium
Build a Payment Error Hierarchy Medium
Check a Value Before You Use It Easy
Describe Nested JSON with a Recursive Type Alias Medium
Find Out What isinstance Checks on a Protocol Hard
Give Each Worker Its Own Database Connection Hard
Narrow a Union Without Treating Zero as Missing Medium
Resolve Values, Awaitables and Factories in Order Medium
Reuse a Computed Value with the Walrus Operator Medium
Turn an Unknown Value into an int Medium
Validate Records with TypeIs Instead of cast Medium
Write Your Own Narrowing Check with TypeIs Hard