# Даны три списка student_ids, student_names, student_grades, содержащие информацию о студентах.

# Дополните приведенный код, используя генератор, так чтобы получить список result, содержащий вложенные словари 
# в соответствии с образцом: [{'S001': {'Camila Rodriguez': 86}}, {'S002': {'Juan Cruz': 98}},...].

student_ids = ['S001', 'S002', 'S003', 'S004', 'S005', 'S006', 'S007', 'S008', 'S009', 'S010', 'S011', 'S012', 'S013'] 

student_names = ['Camila Rodriguez', 'Juan Cruz', 'Dan Richards', 'Sam Boyle', 'Batista Cesare', 'Francesco Totti', 'Khalid Hussain', 'Ethan Hawke', 'David Bowman', 'James Milner', 'Michael Owen', 'Gary Oldman', 'Tom Hardy'] 

student_grades = [86, 98, 89, 92, 45, 67, 89, 90, 100, 98, 10, 96, 93]

def information_about_students(list_ids, list_names, list_grades):
    return [{list_ids[i]: {list_names[j]: list_grades[j] for j in range(i, i + 1)} for i in range(i, i + 1)} for i in range(len(list_ids))]

result = information_about_students(student_ids, student_names, student_grades)
print(result)