input: Write a function to create a Python dictionary that stores data about a student. The dictionary should include the student's name, year, GPA, list of courses, and list of extracurricular activities. If the input is empty, return an empty dictionary.
  def create_student_data(name, year, gpa, courses, extracurricular):
      if not name and not year and not gpa and not courses and not extracurricular:
          return {}
      return {
          'name': name,
          'year': year,
          'gpa': gpa,
          'courses': courses,
          'extracurricular': extracurricular
      }
  
  assert create_student_data('John Smith', 'Freshman', 3.25, ['math', 'english', 'Computer Science', 'Statistics'], ['Chess Club', 'Student Government', 'Debate Team'])=={
      'name': 'John Smith',
      'year': 'Freshman',
      'gpa': 3.25,
      'courses': ['math', 'english', 'Computer Science', 'Statistics'],
      'extracurricular': ['Chess Club', 'Student Government', 'Debate Team']
  }
  assert create_student_data('Jane Doe', 'Sophomore', 3.75, ['history', 'chemistry', 'literature'], ['Science Club', 'Drama Club'])=={
      'name': 'Jane Doe',
      'year': 'Sophomore',
      'gpa': 3.75,
      'courses': ['history', 'chemistry', 'literature'],
      'extracurricular': ['Science Club', 'Drama Club']
  }
  assert create_student_data('', '', None, [], [])=={}
output: def create_student_data(name, year, gpa, courses, extracurricular):
      if not name and not year and not gpa and not courses and not extracurricular:
          return {}
      return {
          'name': name,
          'year': year,
          'gpa': gpa,
          'courses': courses,
          'extracurricular': extracurricular
      }