title: How to print an ascii table in python?
body: <p>I have a problem. I want to print a part of ASCII-Table. I mean it like this: I give first number - for Example 40 - and last number - let's say 100 and it print me number form 40 to 100. Including 40 and 100.<br>
  I got this so far: </p>
  
  <pre><code>def dectohex2(beg,end):
      print('{0:x}'.format(int(beg))," ", chr(beg))
      print('{0:x}'.format(int(end))," ", chr(end))
  </code></pre>
  
  <p>But I'm not sure what to put between those, to print other numbers. </p>