I am using the latest version of python and my IDE is the latest version of pycharm. I am attempting to convert RLE or raw data to hexadecimal. An example of the raw input would be [3, 15, 6, 4]. I don't know how I would go about removing the commas and brackets so that I could convert the raw data to hexadecimal or if I even have to remove the commas and brackets to convert. Any help would be appreciated.
For the example I provided input: [3, 15, 6, 4] output: 3f64