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.

5
  • \$\begingroup\$ Sandbox. \$\endgroup\$ Commented Jun 13, 2022 at 4:39
  • \$\begingroup\$ Can we return 1.0? \$\endgroup\$ Commented Jun 13, 2022 at 4:56
  • \$\begingroup\$ What counts as a function? Does 1+1 count as a function that returns 2? What about in brainf*ck? \$\endgroup\$ Commented Jun 13, 2022 at 5:03
  • 2
    \$\begingroup\$ @NobodyNeedsNames We have a standard rule for that. In typical languages like Python, 1+1 is a snippet and not a function. \$\endgroup\$ Commented Jun 13, 2022 at 5:21
  • \$\begingroup\$ @NobodyNeedsNames Even if 1+1 were considered a function, if f is a constant function, then so are fg and gf, so it's impossible to satisfy the challenge condition. \$\endgroup\$ Commented Jun 14, 2022 at 17:55