input: Write a python function to generate a Student instance from a list of arguments.
  assert generate(['Alice', 21, 'F']).name == 'Alice'
  assert generate(['Bob', 22, 'M']).age == 22
  assert generate(['Carol', 20, 'F']).gender == 'F'
output: def generate(args):
      class Student:
          def __init__(self, name, age, gender):
              self.name = name
              self.age = age
              self.gender = gender
  
      return Student(*args)