Compare between fruitful and void functions in python
Answers
Answered by
6
Comparison between fruitful and void functions in python is as follows:
- By which function a return value is yielded, is called fruitful function in Python.
- In case of fruitful function, the process of testing and adding little amount of code at a time is avoided by a development plan of program.
- Void functions have no return statement in them. Nothing is returned by this function.
- After ending of a void functions, a special type of Python, 'None' is returned.
Similar questions
Social Sciences,
4 months ago
English,
4 months ago
Math,
4 months ago
Physics,
9 months ago
Chemistry,
11 months ago
Social Sciences,
11 months ago
English,
11 months ago