Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Hi @horriblepythoncoder (nice name btw!) and welcome to Codewars.

    There are a few things you need to know about submitting solutions:

    1. 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.

    2. 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 input n and return the demanded answer. Codewars tests will pass the values of n for you.