input: 
  from typing import Dict
  
  def create_student_objects(student_data: Dict[str, Dict[str, str]]) -> Dict[str, object]:
      """ Creates Student objects from a dictionary containing student data.
      The dictionary's keys are student names, and the values are dictionaries with 'age' and 'gender'.
      
      >>> create_student_objects({'Alice': {'age': '20', 'gender': 'F'}, 'Bob': {'age': '22', 'gender': 'M'}})
      {'Alice': <Student object at 0x...>, 'Bob': <Student object at 0x...>}
      """
      class Student:
          def __init__(self, name, age, gender):
              self.name = name
              self.age = age
              self.gender = gender
      
      students = {}
      for name, data in student_data.items():
          students[name] = Student(name, data['age'], data['gender'])
      
      return students
  
output:     
      class Student:
          def __init__(self, name, age, gender):
              self.name = name
              self.age = age
              self.gender = gender
      
      students = {}
      for name, data in student_data.items():
          students[name] = Student(name, data['age'], data['gender'])
      
      return students
  