Why does list.append evaluate to false in a boolean context?
Is there a reason being list.append evaluating to false? Or is it just the C convention of returning 0 when successful that comes into play? >>> u = [] >>> not u.append(6) True Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the … Read more