Why the 0 in return 0? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why the 0 in return 0?

I don't get the zero part. I know return produces the function but why the 0....

14th Dec 2016, 8:04 PM
Hakeem Thomas
Hakeem Thomas - avatar
1 Answer
+ 3
It means it is finished without any error. Go with that.
14th Dec 2016, 8:06 PM
Uran Kajtazaj
Uran Kajtazaj - avatar