How to run the following code without getting output none | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to run the following code without getting output none

I am just alittle kid tell me a soliution https://code.sololearn.com/cPb00W5qs69I/?ref=app I am trying to compleate a code coach challange😃 Secret massage 🌸🌸🌸🌸🌸🌸🌸🌸🌸

9th Dec 2020, 3:47 AM
Kalindu Thathsara
Kalindu Thathsara - avatar
4 Answers
+ 6
You can't, as in it's current state there isn't even a print statement in the program
9th Dec 2020, 3:50 AM
Arsenic
Arsenic - avatar
+ 1
Thank you😀
9th Dec 2020, 5:28 AM
Kalindu Thathsara
Kalindu Thathsara - avatar
0
You have add return-construction in end of function. In else case you have ever get None from function
9th Dec 2020, 7:32 PM
Arman
0
the function kalindu does not return anything and since all functions in python without an explicit return statement return none, tha's why you get none.
10th Dec 2020, 6:14 AM
John
John - avatar