input: Write a function to create a Python dictionary with the names as keys and the ages as values from the given list of people. The input will be a string in the format "Name (Age), Name (Age), ...". Return the dictionary.
  
  def create_people_dict(people_list):
      people_dict = {}
      for person in people_list.split(', '):
          name, age = person.replace('(', ' ').replace(')', ' ').split()
          people_dict[name] = int(age)
      return people_dict
  
  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):
      people_dict = {}
      for person in people_list.split(', '):
          name, age = person.replace('(', ' ').replace(')', ' ').split()
          people_dict[name] = int(age)
      return people_dict