Last active
September 14, 2022 07:33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
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) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)