Ad
  • Default User Avatar

    oh I understand now. Thank you so much

  • Custom User Avatar

    You renamed the function from rgb to rgb_to_hex. Don't do that, simply implement the function body. The tests rely on the given name.

  • Default User Avatar

    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)