title: Why Does Hex() Function returns a string instead an int hex?
body: <p>I dont know why Hex function returns a string like '0x41' instead 0x41</p>
  
  <p><a href="https://i.stack.imgur.com/0u2la.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0u2la.png" alt="enter image description here"></a></p>
  
  <p>I need to convert an ASCII value into a hex. But i want in 0x INT format, not into a '0x' string.</p>
  
  <pre><code>ascii = 360
  hexstring = hex(ascii)
  hexstring += 0x41  # i cant do this because hexstring is a string not a int hex
  </code></pre>
  
  <p>How i can get a int hex??
  thanks</p>