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.
You don't need to use parentheses in this code, but it works just as well ^^
( ಠ ͜ʖಠ)
😒😒😒😒
pro programmer should save time
i completed the task with in a singular line ( ಠ ͜ʖಠ)
I think you meant type(n) != int
Not (n) != int
But either ways it will never execute because there are only three cases :
n % 2 throws an error
n % 2 == 1
n % 2 == 0
In all these cases you don't reach the final elif statement.
( ಠ ͜ʖಠ)
Hi, I like the comments in the code, but a bit of feedback: the final statement will never be reached, and if it could be, it doesn't perform a valid type check.
wat