re: Daily Challenge #2 - String Diamond VIEW POST

TOP OF THREAD FULL DISCUSSION
re: 0 is even, so the spec defines diamond(0) is supposed to return null/None.
 

Ahh you are 100% correct! I was confusing myself with Natural Numbers (which 0 is NOT), but that's unrelated to even/odd!

Good call out!

code of conduct - report abuse