Python’s Assert Statement: A Not-So Comprehensive Guide
What are Assertions?
Assertions are statements used to prove that a certain condition is true or has stayed true. If the condition proves to be false then the program will generally raise an AssertionError.
When to use Assertions
As powerful as asser...
psycode.com3 min read