Computer Science, asked by vikrantpalle6035, 9 months ago

Compare between fruitful and void functions in python

Answers

Answered by theking20
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