Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
It is so hard bro>
coming from SoloLearn Python beginner: I just got through quiz 3 and so far Funtion and Return haven't been covered at all.
nice i mean thats super noobiesh :)
Very nice)
i received more insight because of this answer.
Spoiler flag.
This comment is hidden because it contains spoiler information about the solution
too difficult, created a nested list
Just click attempt because there are no sample tests.
as per my understanding there wasn't any return statement or any work was defined inside the function so overall the function was undefined.
there is no sample test for this kata. You'd have to write a test for yourself
???why I failed to run sample test, but attempt can be passed?
Still compilers tend to ignore that and return random values instead.
Encountered that behaviour often enough with GCC during code golfs.
The main function returns 0 if there is no explicit return statement. It is standard C++.
And if you want to be really sweet to your callers then you add a "return 0;" to the end of main ;)
Loading more items...