input: Write a function to create a Student object in Python with attributes name, age, and gender. The function should return an instance of the Student class with the provided attributes.
  assert create_student("John Doe", 20, "Male").name == "John Doe"
  assert create_student("Jane Doe", 19, "Female").age == 19
  assert create_student("Alice", 22, "Female").gender == "Female"
output: def create_student(name, age, gender):
      class Student:
          def __init__(self, name, age, gender):
              self.name = name
              self.age = age
              self.gender = gender
      return Student(name, age, gender)