3 ms·
Daily Bite of Python: Did you know Python for-loops support else-clauses?
- PythonDeveloper 11y agoUpvoted, but the irony of saying something is more 'Pythonic' by using a completely non-pythonic method when If magic_number in l: Would have solved the problem :). Will be visiting your site regularly. Now that i have watched your video, I completely understand why you did the example that way.