input: Write a function that creates objects of type Student in Python containing relevant attributes. The Student class should have an __init__ method to initialize the name, age, and gender of the student. The function should provide a way to create instances of the Student class by passing these attributes as arguments.
  
  class Student:
      def __init__(self, name, age, gender):
          self.name = name
          self.age = name
          self.age = age
          self.gender = gender
          
  student1 = Student("Alice", 20, "Female")
  student2 = Student("Bob", 22, "Male")
  assert student1.name == "Alice"
  assert student1.age == 20
  assert student1.gender == "Female"
  assert student2.name == "Bob"
  assert student2.age == 22
  assert student2.gender == "Male"
output: def __init__(self, name, age, gender):
      self.name = name
      self.age = age
      self.gender = gender