input: 
  def create_people_dict(people_list: list) -> dict:
      """
      Convert a list of tuples containing names and ages into a dictionary where the names are keys and the ages are values.
      
      >>> create_people_dict([('John', 20), ('Jane', 40), ('Alex', 18), ('Peter', 45)])
      {'John': 20, 'Jane': 40, 'Alex': 18, 'Peter': 45}
      """
  
output:     people_dict = {}
      for name, age in people_list:
          people_dict[name] = age
      return people_dict