English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

What is the composition in functions? - Computer Science

Advertisements
Advertisements

Question

What is the composition in functions?

Short Note

Solution

The value returned by a function may be used as an argument for another function in a nested manner. This is called composition. For example, if we wish to take a numeric value or an expression as an input from the user, we take the input string from the user using the function input ( ) and apply the eval ( ) function to evaluate its value.

shaalaa.com
Functions Using Libraries
  Is there an error in this question or solution?
Chapter 7: Python functions - Evaluation [Page 113]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 7 Python functions
Evaluation | Q 6. | Page 113
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×