title: How to take space separated input in dictionary with every new input stored against a new key value?
body: <p>How to create a dictionary from a string composed by space separated words with <code>i for i in range(0, n)</code> as key in the dictionary ?</p>
  
  <p>Tried this:</p>
  
  <pre class="lang-py prettyprint-override"><code>i = 0
  map(dic[i+=1],input().split())
  </code></pre>
  
  <p>It didn't work.</p>
  
  <p>It should output this:</p>
  
  <pre><code>dic={0:'apple',1:'grapes',2:'orange',3:'banana'}
  </code></pre>