Confusion about assertions in Python | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок

Confusion about assertions in Python

Hi there, i have a question about assertions and that is if they're kept in the final code or only used when debugging and then deleted when the code is complete, it's just that i don't fully understand in wich parts of the code they would be put and how it would affect the result of the program once finished. I would appreciate if someone could explain this to me.

23rd Sep 2020, 10:02 PM
Carlos - avatar
1 ответ
Better to refer the book or any website. It is quite difficult to exaplian in here.
24th Sep 2020, 3:37 AM
Kavya - avatar