> BUT: this really doesn't make much sense! Your if construct is a lot more > readable than what any or all would give you in this example. > As pointed out repeatedly here, you can always replace any() and all() with > a combination of for and if, it's really a question of readability (and > style) what you choose.
Got it. I just wanted to make sure I get a better understanding of how to use any() and all() even though I already had a solution at hand. So far, I worked through 24 out of 68 built-in functions, and I guess I will have a few more questions along the way ;-) Thank you all again! Raf _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor