Question: Another common method to organize data is the stack. Here, think of a stack of homework assignments.The assignment that is submitted last is on top
Another common method to organize data is the stack. Here, think of a stack of homework assignments.The assignment that is submitted last is on top of the pile. It is graded first by the TAs because it is on top. List append and pop functions give you a way to simulate a stack as well. Write a program qpy to model the assignment stack. Suppose we have a total of students. Prompt them for names as they submit assignments. Then grade the assignments from the stack and assign them scores based on the ASCII equivalent of the first character of their names.
Example # The output begins on the very next line.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
