Hi , I got stuck , can you please explain what does "function(function,argument)" does in the following example Def any(function,argument): return function(function, argument)
5/16/2019 5:38:46 PM
Parvesh Khatri2 Answers
New AnswerParvesh Khatri function "function" is called with "function" and "argument" as arguments. remember functions are first class entities in python so you can pass functions as arguments.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message