Pregunta de entrevista de Texas Instruments

Python questions, how would i do assertion testing