input: Write a function that creates an object of type Student in Python containing relevant attributes such as name, age, and gender. The function should return the Student object with the provided attributes.
  assert Student("Alice", 20, "Female").name == "Alice"
  assert Student("Bob", 22, "Male").age == 22
  assert Student("Charlie", 19, "Male").gender == "Male"
output: def 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)