input: from typing import Dict, List, Tuple
  
  def create_people_dict(people: List[Tuple[str, int]]) -> Dict[str, int]:
      """Create a Python dictionary with the names as keys and the ages as values from a list of tuples.
      Each tuple contains a name and an age.
      >>> 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:
          people_dict[name] = age
      return people_dict