Distinguish clearly between displayed and printed output and support your answer with one (1) limitation each?
Answers
Answered by
2
The print() function writes, i.e., "prints", a string or a number on the console. The return statement does not print out the value it returns when the function is called. It however causes the function to exit or terminate immediately, even if it is not the last statement of the function.
Similar questions