input: Write a function to convert a given list of people's names and their corresponding ages into a Python dictionary where the names are the keys and the ages are the values. If the list is empty, return an empty dictionary. 
  
  assert create_people_dict("John (20), Jane (40), Alex (18), Peter (45)")=={'John': 20, 'Jane': 40, 'Alex': 18, 'Peter': 45}
  assert create_people_dict("")=={}
output: def create_people_dict(s):
      if not s:
          return {}
      people_dict = {}
      for item in s.split(", "):
          name, age = item.split(" (")
          age = int(age.rstrip(")"))
          people_dict[name] = age
      return people_dict