I have a python program that needs to assert a lot of nested conditions before executing.
Python has a way to assert with
assert condition, error_message(optional)
but, I need to assert multiple nested conditions, and probably execute multiple statements in the assert.
what is proper way to use assert in python?