0

Return function returns value at the end of the code ?

19th Mar 2020, 5:40 AM
Saurabh Sen
Saurabh Sen - avatar
4 Respostas
+ 4
In most cases or when the established conditions are met Check this lesson https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2287/
19th Mar 2020, 5:42 AM
Cmurio
Cmurio - avatar
+ 3
exactly, If you look at the lesson that I attached you can see several examples. Among them is a function that has several returns depending on the condition
19th Mar 2020, 5:45 AM
Cmurio
Cmurio - avatar
0
Jesus Eduardo Canul Koyoc it means it has no fixed position 🤔
19th Mar 2020, 5:44 AM
Saurabh Sen
Saurabh Sen - avatar
0
https://code.sololearn.com/cmdH9wQ3Ou2V/?ref=app Explain me this . its output is a random value
19th Mar 2020, 5:49 AM
Saurabh Sen
Saurabh Sen - avatar