+ 2
Fucntion
What is differances between return and print keywords?
3 Réponses
+ 12
Printing and returning are completely different concepts. print is a function you call. ... 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.
+ 1
I'll appreciate all🙏