Lets say a teacher wants to add n number of students to a database.

```py
n = 1000
students = dict(input("enter students name and grade. Example 'Student C: '").split()
    for _ in range(n))
print(students)

```

This is fine if we have 1000 students, but what if the teacher wants to finish after 10 students? Is there a way we can input "quit" to break the loop?