0 is plural in English; for fractions it depends on the noun that follows: "half of the pie haS been eaten" vs. "half of the pieS haVE been eaten". in any case, this is a 8-kyu kata, not a grammar exercise.
you have an extraneous end at the end of your program which makes it ill-formed
you need to return the function that you wrote and which solves the kata at the end of your program. currently, you are returning an empty table solution that you created, hence why the tests cannot run properly
Poorly written- the way it is worded and calling the parameter "sperm" suggests the argument is going to be "X" or "Y". It should be rewritten to make it clear that we are evaluating the chromosome pairs
calling the parameter "sperm" 🤣🤣
0
is plural in English; for fractions it depends on the noun that follows: "half of the pie haS been eaten" vs. "half of the pieS haVE been eaten". in any case, this is a 8-kyu kata, not a grammar exercise.end
at the end of your program which makes it ill-formedreturn
thefunction
that you wrote and which solves the kata at the end of your program. currently, you are returning an empty tablesolution
that you created, hence why the tests cannot run properlyThis honestly needs to be pulled. The description does not make any sense. Plurals in English do NOT include halves or zero.
Poorly written- the way it is worded and calling the parameter "sperm" suggests the argument is going to be "X" or "Y". It should be rewritten to make it clear that we are evaluating the chromosome pairs
Who gave this best practices 🤣
10/10