McqMate
| Q. |
Python supports the creation of anonymous functions at runtime, using a construct called |
| A. | lambda |
| B. | pi |
| C. | anonymous |
| D. | none of the mentioned |
| Answer» A. lambda | |
| Explanation: python supports the creation of anonymous functions (i.e. functions that are not bound to a name) at runtime, using a construct called lambda. lambda functions are restricted to a single expression. they can be used wherever normal functions can be used. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet