Your contribution cannot be approved because it does not follow the Utopian Rules.
Explanation:
- you've not properly explained what the
return
keyword is used for in any programming language, in this case Python 3. You said
return is simply a command that allows us to call the value in the function.
- You cannot "call a value", you call a function or class method and if that function (
def
) happens to return a value (or a tuple of values) you can assign it to another value or pass it as an argument. - a
return
statement could also return a function! Or any other object in Python...
You can contact us on Discord.
[utopian-moderator]