input: 
  def print_grade_table(students):
      """Print a formatted table of grades for a given set of students.
      The table should align all student names to the left and their grades next to their names.
      >>> students = [
      ...     {'name': "John", 'grade': 92},
      ...     {'name': "Alice", 'grade': 95},
      ...     {'name': "Bob", 'grade': 87}
      ... ]
      >>> print_grade_table(students)
      Name      Grade
      ---------------
      John       92
      Alice      95
      Bob        87
      """
      max_name_length = max(len(student['name']) for student in students)
      line_template = "{{name:<{max_name_length}}}   {{grade}}".format(max_name_length=max_name_length)
      header = line_template.format(name='Name', grade='Grade')
      sep = '-' * len(header)
      print(header)
      print(sep)
      for student in students:
          print(line_template.format(**student))
  
output:     max_name_length = max(len(student['name']) for student in students)
      line_template = "{{name:<{max_name_length}}}   {{grade}}".format(max_name_length=max_name_length)
      header = line_template.format(name='Name', grade='Grade')
      sep = '-' * len(header)
      print(header)
      print(sep)
      for student in students:
          print(line_template.format(**student))