Timeline for Check if array has the same number of even and odd values in Python
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 21, 2020 at 20:15 | comment | added | Kevin | @epa095 - In my opinion, 'Cleverness' in code is a drawback, not a benefit. Simplicity and Readability are the things that really matter 99% of the time. | |
May 20, 2020 at 13:05 | comment | added | gazoh | @epa095 I feel like its a common issues with python. A lot of things can be turned into nifty one-liners, but it defeats one of the purposes of the language: it's designed to be readable. | |
May 20, 2020 at 13:00 | history | edited | gazoh | CC BY-SA 4.0 |
fix error in return statement
|
May 20, 2020 at 11:41 | comment | added | epa095 | I like this. Its less clever than many others, but it retains a property I liked about the original code; it takes me a single glance over it to know exactly what it does, while removing some of the obvious eye-sores. | |
May 19, 2020 at 14:23 | history | answered | gazoh | CC BY-SA 4.0 |