Getting Array Input In Python Integer To Hexadecimal