How can I fix the TypeError when converting hex to ASCII in Python

welcome to shbcf.ru