Python Programming - Functions - Discussion

Discussion Forum : Functions - General Questions (Q.No. 47)
47.
How can you pass a function as an argument to another function?
By using the eval function.
By converting the function to a string.
By using the function name without parentheses.
By using the function name with parentheses.
Answer: Option
Explanation:
In Python, you can pass a function as an argument to another function by using the function name without parentheses.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.