why return statement is not working ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
26th May 2020, 5:33 PM
Somil Khandelwal
8 Answers
+ 2
Muhammad Thanks bro
26th May 2020, 5:52 PM
Somil Khandelwal
+ 1
Where is the return statement?
26th May 2020, 5:39 PM
Abhay
Abhay - avatar
+ 1
You should make the code with return statement as it is ,since you are asking why isn't return statement working ,anyway ,since I don't see any return statement and code is working fine! So what is the actual problem?
26th May 2020, 5:42 PM
Abhay
Abhay - avatar
+ 1
You did not printed the strings. Write this: print(pop(4,4))
26th May 2020, 5:48 PM
Muhammadamin
Muhammadamin - avatar
0
Abhey I replaced return statement with "print " because return statement is not working
26th May 2020, 5:41 PM
Somil Khandelwal
0
I don't any output
26th May 2020, 5:43 PM
Somil Khandelwal
0
check
26th May 2020, 5:43 PM
Somil Khandelwal
0
I just changed my code
26th May 2020, 5:44 PM
Somil Khandelwal