DEV Community

Discussion on: Daily Challenge #9 - What's Your Number?

Collapse
 
sturzl profile image
Avery

Why the one line solution?

Collapse
 
alvaromontoro profile image
Alvaro Montoro • Edited

No real reason. Both do the same, the first one is more verbose and easier to understand. I deleted the one-line one to avoid any confusion.