0
[SOLVED] Why is the is_empty function doesn't return a value??
https://code.sololearn.com/cLtOMie7Hv2z/?ref=app I want to know why is the is_empty function doesn't return any value??
2 Answers
+ 6
It is returning a Boolean value.
The problem is that you are not doing anythin with it, that's why you are not able to see it's effect.
Check this out đ( I am printing the return value to console)
https://code.sololearn.com/cOOwG62si9R6/?ref=app
+ 2
Thanks