input: Write a function to create a Python dictionary where the keys are the names and the values are the ages from the given list of people.
  
  
  def create_people_dict(people_list):
      return {name: age for name, age in people_list}
  
  assert create_people_dict([('John', 20), ('Jane', 40), ('Alex', 18), ('Peter', 45)]) == {'John': 20, 'Jane': 40, 'Alex': 18, 'Peter': 45}
  
output: def create_people_dict(people_list):
      return {name: age for name, age in people_list}