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.
Hi,
by pressing the "fork" button below your solution, I was able to make some changes to your solution and share the new solution with you and everybody else :-)
When you call a list it does not have to call individual values. You can call lists or tuples for example. When you do call a tuple within a list you could use times[0] to represent the english value and times [1] to represent the value. Instead python lets you create a shortcut when creating a for loop. When using this nomenclature it automatically sets times[0] to name and times[1] to secs.
So for this problem the for loop will go through 5 iterations. The first time the for loop will set name = 'year' and secs = 365 * 24 * 60 * 60.
Hope this helps.
Closing because this isn't an issue.
In Python you should return a list, not an array.