The 'assert' statements in python Assert statements are a con | ✪᪥TαყʟσɾGᴀɴɢ᪥✪ ᗣ༎T.ɢᴏᴅシ︎
The "assert" statements in python
Assert statements are a convenient way to insert debugging assertions
into a program:
assert_stmt ::= "assert" expression ["," expression]
The simple form, "assert expression", is equivalent to
if debug:
if not expression: raise AssertionError
The extended form, "assert expression1, expression2", is equivalent to
if debug:
if not expression1: raise AssertionError(expression2)
For full tutorial:: @V3rtualfreenet
(Were on debugging and decryption this week don't miss the lessons)