input: from typing import Dict, Tuple
  
  def create_age_dict(people: Tuple[str, int]) -> Dict[str, int]:
      """ Convert the given list of tuples, where each tuple consists of a name and an age, 
      into a dictionary where the keys are the names and the values are the ages.
      >>> create_age_dict([('John', 20), ('Jane', 40), ('Alex', 18), ('Peter', 45)])
      {'John': 20, 'Jane': 40, 'Alex': 18, 'Peter': 45}
      """
output:     age_dict = {}
      for name, age in people:
          age_dict[name] = age
      return age_dict