+ 1
Assert is a condition in which we know that the error will be occurred and if is simply use for those condition which we gives two ways if true then print otherwise else print
10th Mar 2019, 8:49 PM
Muhammad Tahir Iqbal
Muhammad Tahir Iqbal - avatar
+ 1
Assert is a technique you use to figure out bugs. It shouldn't be part of your program's control flow because compilers and interpreters often ignore it or cut it out.
10th Mar 2019, 10:34 PM
HonFu
HonFu - avatar