Computer Science, asked by ProSaurav, 10 months ago

Differ between return statement and print() statement in python.

Answers

Answered by Anonymous
1

Answer:

\huge\mathfrak\orange{Satsriakal..!!!}

The return statement returns with a value from a function. return without an expression argument returns None. Falling off the end of a function also returns None. With print() you will display to standard output the value of param1 , while with return you will send param1 to the caller.

Similar questions