1) Assertion
· Inform developers about unrecoverable errors in a program.
· Internal self-checks for program.
· They work by declaring some conditions as impossible .
def apply_discount(product, discount):
price…
1) Assertion
· Inform developers about unrecoverable errors in a program.
· Internal self-checks for program.
· They work by declaring some conditions as impossible .
def apply_discount(product, discount):
price…