On Tue, Mar 1, 2016 at 4:34 AM, Ganesh Pal <ganesh1...@gmail.com> wrote: > On Mon, Feb 29, 2016 at 10:10 PM, Dennis Lee Bieber > <wlfr...@ix.netcom.com> wrote: > >> Ask yourself: Will my program still work if I remove all the assert >> statements. If the answer is "No", then you should not be using an assert. > > You meant if the answer is "NO" then I should be using asset ?
No, Dennis was correct. You should assume that "assert" can potentially be replaced with "pass" and your program will continue to work. ChrisA -- https://mail.python.org/mailman/listinfo/python-list