RGB-HEX converter, not working. Please help!

The same problem with alot of my projects, is that the code seems to amount to nothing even though I follow every step.


Heres my project.
Please help!

It works if you remove the extra the indentation for the second and third def inside your file. Also the last line, convert() is getting a extra indentation which is forcing it to become part of the def convert() statement.

The proof:

Oh thanks so much, I missed how the convert() function call, was still indented into def convert(). Thanks!

Thanks again all my indenting was way out, fixed it now! Otherwise wouldn’t have noticed it, lol.