0
Return in If statement
Hello. I would like to know what is the purpose to use Return in If statement? Thanks
1 Answer
+ 3
The python return statement is used in a function to return something to the caller program.
see this
https://www.sololearn.com/Discuss/1240345/?ref=apphttps://www.sololearn.com/learn/Python/2287/?ref=apphttps://www.sololearn.com/learn/PHP/1836/?ref=apphttps://www.sololearn.com/Discuss/1385617/?ref=apphttps://www.sololearn.com/Discuss/681557/?ref=apphttps://www.sololearn.com/Discuss/2073985/?ref=app