Print "outcome" and return result
I have struggled to prove this but it keeps giving me only outcome. I have reviewed my codes over and over again but the result will not be printed. Is there something that I need to know or am I just wrong?
Could you provide a screenshot of the code so we can investigate you case with more information?
That's weird, I replicated your function
plus_ten() and it worked just fine.
Could you try restarting the kernel, then re-run your code? You can refer to the image below:
Hi Martin and Carl,
Thanks for reaching out.
@Martin: Indeed, as Carl suggests, please restart the kernel and retry, since it seems that you have executed several cells prior to running
We can understand this after observing the number of the executions from the screenshot you've provided. It isn't clear what executions between 87 and 91, inclusive. We all make this simple mistake sometimes (i.e. running cells that interrupt the flow of the operations we intend to implement). Thus, restarting the kernel helps.
Hope this helps but please feel free to get back to us should you need further assistance. Thank you.
The 365 Team