SyntaxFix
Write A Post
Hire A Developer
Questions
Another solution is:
>>> "".join(list(hex(255))[2:]) 'ff'
Probably an archaic answer, but functional.