Query Class In Python Exercises