Question 447: In Python, what is the purpose of theassertstatement?
tcs
wipro
infosys
general
aptitude
exception-handling
Theassertstatement is used to check if a condition is True. If the condition is False, it raises anAssertionError, allowing you to catch unexpected conditions during development.