The PatronQueue class also includes the method is Empty, which was not discussed earlier. This method expects no arguments and returns True if the queue is empty and False otherwise. Write a code segment, to be included in the method peek, that raises an exception if the queue is empty.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here