title: How 'dict_values' can be convert to integers in a list?
body: <p>I'm new in Python, and didn't find previous questions that describe the issue I'm asking for. Thank you. </p>
  
  <p>1) My first question is, why the type that I get here is not a real List ?  (the  [ ] in the output, looks like a list but it's not, as you can see in the line below).</p>
  
  <p>2) How can I convert the values in this 'dict_values' to integers inside a List (to make some calculations later) ?</p>
  
  <pre><code>print(list(node_list[j].neighbors.values()))
  print(type(node_list[j].neighbors.values()))
  </code></pre>
  
  <p>The output is:</p>
  
  <pre><code>[10, 20, 20, 5, 10]
  &lt;class 'dict_values'&gt;
  </code></pre>