Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 2
    \$\begingroup\$ 41 bytes \$\endgroup\$ Commented Mar 12, 2019 at 9:00
  • 2
    \$\begingroup\$ "Output can be two distinct and consistent values through any allowed output format." You're not returning any two distinct values. \$\endgroup\$ Commented Mar 12, 2019 at 9:29
  • 2
    \$\begingroup\$ @OlivierGrégoire Fortunately that can be readily fixed by replacing the space with an exclamation mark! \$\endgroup\$ Commented Mar 12, 2019 at 9:33
  • 1
    \$\begingroup\$ @Neil Better yet, it can be fixed with n=!s; instead of return!s; to save 5 bytes. \$\endgroup\$ Commented Mar 12, 2019 at 9:50
  • \$\begingroup\$ @OlivierGrégoire ahh, I forgot that point. Also, updated the with the improved code. I tried something similar, but the idiot I am I did s=s which more than likely got optimized out. \$\endgroup\$ Commented Mar 13, 2019 at 0:26