# stacks easy

Say It Backwards

The mischief parrot repeats everything BACKWARDS — using a pile of letters, naturally. 🦜

You get a word. Push its letters onto a stack, then pop them all, printing the reversed word as one string. (No slicing tricks — feel the stack do it!)

Example:

Input: word = "stressed" Output: desserts

Pushing every letter and then popping them all back off reverses their order, spelling out desserts.

💡 need a hint?

stk-say-it-backwards.py🔒 given lines are locked — write your code in between
loading...