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]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f52b09ca7dc_36966f52b097c817.jpg)
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
Get step-by-step solutions from verified subject matter experts
