program-assignment-python
program-assignment-python
ln the l:koppoutboxCS 222 01Program AssignmentsChapter 03 folder are two files: node.py and llstack.py. Use these files for the following assignment.
Modify the llstack.py file into llqueue.py. The llqueue.py file should implement a queue using a linked list. Once you have this created, write a test program to fully test the methods of the llqueue.py file.
Extra Credit:
A priority queue is a queue that allows certain entities to be moved to the front of the queue. For example, in an emergency room, if someone comes in with a severe injury or illness, they are moved to the front in order to be treated before the others already in the queue.
Modify the llqueue.py file you created above that allows priority entities to be moved to the front of the queue. Write a unique test program that regular nodes and priority nodes to be added to and removed from the queue.
