title: How to make the first 2 values as key and next as values
body: <p>I want to read a file and convert the 1st 2 values of each row as key and the next 2 as values</p>
  
  <p>file_name.txt</p>
  
  <pre><code>    a b 1 2
      d e 2 3
      a c 4 6
  </code></pre>
  
  <p>I want to create a dictionary like this</p>
  
  <pre><code> d={'a-b' :(1,2)},'d-e':(2,3)},'a-c':(4,6)}}
  </code></pre>
  
  <p>I converted the file into a list with each row being an element of the list:</p>
  
  <pre><code>  v_list=['a b 1 2','d e 2 3','a c 4 6']
  </code></pre>
  
  <p>I can also convert the file into a list with each value in each row as an element:</p>
  
  <pre><code> v_list=['a','b','1','2','d','e','2','3','a',c','4','6']
  </code></pre>
  
  <p>But I am not getting proper reference to convert this list into a nested dictionary with values a tuple.
  Can someone please suggest me how to go about it.</p>