Skip to content

Instantly share code, notes, and snippets.

@fenilgandhi
Last active September 14, 2022 07:33
"""
Provide the definition of a function foo which returns the summation of
the given three integers when called as follows
"""
# Add function definition here
## Here result should be 12
result = foo(3)(4)(5)
@Ayush472
Copy link

Ayush472 commented Aug 5, 2022

Foo (pronounced FOO) is a term used by programmers as a placeholder for a value that can change, depending on conditions or on information passed to the program. Foo and other words like it are formally known as metasyntactic variables.

this function is called not foo(3,4,5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment