What is the use of the return statement? a. exit a...


What is the use of the return statement?


a. exit a function                                                                               b. null value


c.   initiate a function                                                                        d. none


Which keyword is used to create an anonymous function?


a. Def                                                                                                     b. lambda


c.  func                                                                                                  d. pi


What does the following code do?


def p(q, r, s): pass


a. defines a function, which does nothing                              b. defines an empty list


c.   defines a function with parameter                                      d. defines an empty string


Which command cannot be called directly by an anonymous function?


a. Scan                                                                                                   b. Def


c.  exit                                                                                                   d.  print


May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here