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.
I have added backwards compatibility for the old python solution name on the very off chance this happens again.
Not exactly the same but I share the sentiment with most of the Kata's on here.
Way more concise than mine!
Yes, that allowed the attempt. Now just have to update my code. Thank you!
Your function is called
late_clock
, but I recently changed it to belatest_clock
but your code still remembers the old version. Change your function tolatest_clock
and it should be fine.You can also back up your solution, click RESET, and then you will get the most recent state. Then paste your solution back, rename the funciton to
latest_clock
, and this should help.Is the function name latest_clock or did you change it?
Traceback (most recent call last):
File "/workspace/default/tests.py", line 1, in
from solution import latest_clock
ImportError: cannot import name 'latest_clock' from 'solution' (/workspace/default/solution.py
Has anyone else received this error when attempting this kata? My code passes all the tests and seems fine but when I attempt it, there is the issue of attempting to import 'latest_clock' that I don't see.