Question-139: Which of the following statements is/are correct for function?
- Build in function: their behavior is already implemented by Python) to make your life smooth.
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Answer: A,B,C,D,E
Exp:
Functions
- You have used many functions till now
- len(), input(), float(), int() etc.
- These are pre-defined (it means their behavior is already implemented by Python) to make your life smooth.
- If you want to have some custom behavior then you have to create your own function.
- In maths, you have seen equation something like below
Y=f(x) |
- In above f(x) is a function, which find the value y for given x.
- But what to do with X is defined in a function f(x)
- Suppose your function does below thing
You can access to full explanation to question and answer from this page.