Question
When you pass a tuple as the first argument in an [...] statement, the [...] always evaluates as true and therefore never fails.
assert, assertion

Question
When you pass a tuple as the first argument in an [...] statement, the [...] always evaluates as true and therefore never fails.
?

Question
When you pass a tuple as the first argument in an [...] statement, the [...] always evaluates as true and therefore never fails.
assert, assertion
If you want to change selection, open original toplevel document below and click on "Move attachment"

#### Parent (intermediate) annotation

Open it
When you pass a tuple as the first argument in an assert statement, the assertion always evaluates as true and therefore never fails.

#### Original toplevel document

Assert Statements in Python – dbader.org
valuate to true. I’ve been bitten by this myself in the past. I wrote a longer article about this specific issue you can check out by clicking here. Alternatively, here’s the executive summary: <span>When you pass a tuple as the first argument in an assert statement, the assertion always evaluates as true and therefore never fails. For example, this assertion will never fail: assert(1 == 2, 'This should fail') This has to do with non-empty tuples always being truthy in Python. If you pass a tuple to an assert stat

#### Summary

status measured difficulty not learned 37% [default] 0

No repetitions