Question: Coding language is Wing 101 IDE on Python. 2. [5 marks] Write a function called reverseLines() that reads lines of input until a line with

 Coding language is Wing 101 IDE on Python. 2. [5 marks]

Coding language is Wing 101 IDE on Python.

2. [5 marks] Write a function called reverseLines() that reads lines of input until a line with END is read. Your function should then print out the lines in reverse order, except for the END. Your solution must use some sort of stack. Makes sure that you document (at the start of the program) what sort of stack you are using

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!