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.
oh I understand now. Thank you so much
You renamed the function from
rgb
torgb_to_hex
. Don't do that, simply implement the function body. The tests rely on the given name.I'm getting this error when I test my code. Is it because of my code or the test?
Traceback (most recent call last):
File "/workspace/default/tests.py", line 2, in
from solution import rgb
ImportError: cannot import name 'rgb' from 'solution' (/workspace/default/solution.py)
Do you care to elaborate, or is that the sum total of your insight into this perceived issue?
doesn't work correctly in c++