Computer Science, asked by dsamalrspp3lwdj, 4 months ago

what is the difference between print and return in python ?​

Answers

Answered by RitaIngle
0

Answer:

Use print when you want to show a value to a human. return is a keyword. When a return statement is reached, Python will stop the execution of the current function, sending a value out to where the function was called. Use return when you want to send a value from one point in your code to another.

Explanation:

The ans if ur question

Similar questions
Math, 8 months ago