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.
This is a implicit int, the default return type is int. You can do this with arguments as well like
fun(a, b) {return a + b;}
This defined a function called
fun
, that return int and take a and b as integers.I have not been writing C for a long time. Can someone please tell me why we can pass the compiler without explicitly stating the return type?
ooh got it thank you
not an issue, a question (the kata is working fine)
You're printing the result instead of returning it.
You should read this
This comment is hidden because it contains spoiler information about the solution
i confusied with this kata i my code is work's fine on localbut when i submit solution its give's me an error
As of right now, 3,504 buddies have solved this in Python.
is there any buddy already solve with python ?
awesomne
hahaha
woah!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
xD
so far so good :/