Convert Text to Hex Values in Python

Prompt

Result