title: Is there an efficient way of creating a list of tuples using a range?
body: <p>
  I'm seeking for an efficient way to combine a number range like <code>(20,24)</code> with another object like <code>{'a': 'b'}</code> to get,</p>
  
  <pre class="lang-py prettyprint-override"><code>[(20, {'a': 'b'}), (21, {'a': 'b'}), (22, {'a': 'b'}), (23, {'a': 'b'})]
  </code></pre>
  
  <p>If I had a list of numbers like <code>[20, 21, 22, 23]</code>, I know iterating through the list is the way to go. But here I have a range of numbers. So may be there is a way to wrap range elements in tuples more elegantly. </p>
  
  <p>Here is my attempt to achieve this:</p>
  
  <pre class="lang-py prettyprint-override"><code>min = 20
  max = 23
  data = {"a": "b"}
  result = []
  for i in range(min, max + 1):
      result.append((i, data))
  print(result)
  </code></pre>
  
  <p>I just want to know whether there is any better way to do this.</p>