Welcome to Westonci.ca, your ultimate destination for finding answers to a wide range of questions from experts. Discover comprehensive solutions to your questions from a wide network of experts on our user-friendly platform. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform.

What is a return statement used for?
o beginning a function
O repeating a value
copying a function
exiting a function
DONE


Sagot :

TJC07

Answer:

Exiting a function

Explanation:

Return simply returns a specified value at the end of a def function (if you're in python). It does not print or do anything else. You could set variables equal to a def function that returns or you could put the def function in a print statement to print the returned value.