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 comment is hidden because it contains spoiler information about the solution
Hi @horriblepythoncoder (nice name btw!) and welcome to Codewars.
There are a few things you need to know about submitting solutions:
You must not change the name of the function Codewars "expects" to see in its tests. Here the kata is expecting you to write your code in a function named
even_fib(n)
- in other words, whatever this function returns is what Codewars considers your answer. You don't have a function with this name in your solution, so Codewars can't "see" what you are doing.Related to 1, you must return your solution, not just
print(even_list)
to your console.Remove all the stuff in your solution about
input()
and so on, and just write a function that will accept an inputn
and return the demanded answer. Codewars tests will pass the values ofn
for you.