Confusion about assertions in Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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
Carlos - avatar
1 Answer
0
Better to refer the book or any website. It is quite difficult to exaplian in here.
24th Sep 2020, 3:37 AM
Kavya
Kavya - avatar