Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

deleted 4 characters in body
Source Link
dingledooper
  • 23.4k
  • 1
  • 40
  • 130

Python 2, 2625 bytes

\$ a \$ and \$ b \$ are inputted as a tuple (called \$ x \$).

lambda f,g,*xx:g(*map(f,x))

Try it online! Try it online!

Python 2, 26 bytes

lambda f,g,*x:g(*map(f,x))

Try it online!

Python 2, 25 bytes

\$ a \$ and \$ b \$ are inputted as a tuple (called \$ x \$).

lambda f,g,x:g(*map(f,x))

Try it online!

Source Link
dingledooper
  • 23.4k
  • 1
  • 40
  • 130

Python 2, 26 bytes

lambda f,g,*x:g(*map(f,x))

Try it online!

AltStyle によって変換されたページ (->オリジナル) /