title: How to define a function without using .values() to get values from a dictionary
body: <pre><code>def getValues(myDict):
    return list(myDict.items())[0][1] # &lt;-- my code returns only 1 value, I need all values
  
  courses = {'CPS141':60, 'CSS210':30, 'CPS161':20}
  print(getValues(courses))
  </code></pre>
  <h1>expected output: [60,30,20]</h1>