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 dont need to keep your solution in one function. You can submit a solution which has more than one function.
This comment is hidden because it contains spoiler information about the solution
OP SOLVED IT, CLOSING
Thank you, sir. I was going crazy and realized I had changed 'if human_years >= 1' to 'human_years == 1' in my IDE. I thought I copy pasted the updated solution. Human Error
With human_years = 2, human_years >= 1 would enter your first if condition, in fact, any number greater than 1 will. You're always returning
[human_years, 15, 15]
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
i
is not the index infor i in arr
, it's the element itself.This comment is hidden because it contains spoiler information about the solution