+ 4
Assert is mostly used for debugging. This statement checks for the condition to be True and raises the AssertionError (thus effectively terminating the program) if it is not.
3rd Jan 2018, 10:07 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar