Query Method In Python Example Programs For Practice