Design and implement an application that reads a sentence fromthe user and prints each word of the sentence in reverseorder.(using python)
Use a stack to reverse each word of thissentence.
For example:
Input: I am a student
Output: student a am I
What is the difference between a queue and astack?
Expert Answer
An answer will be send to you shortly. . . . .