Jan-15-2020, 04:59 PM
(This post was last modified: Jan-15-2020, 04:59 PM by TheDark_Knight.)
(Jan-15-2020, 04:06 PM)stullis Wrote: The return keyword terminates the function. You'll need the print() call prior to return.
Thanks for the response. This helped me learn a new thing.
However, does it mean that it's never possible to have an output consisting of a number + text, using the return command? For e.g. 10 chocolates?