Skip to content

Instruction 10000 OUT

HoverCatz edited this page Mar 8, 2024 · 1 revision

This will print the last element (the top/the right-most/the last added element) on the stack onto the standard output.


Stack before: ${[\space\color{#947cdd}'Hello \space'\space\color{white}, \space\color{#947cdd}'World'\color{white}\space]}$

OUT

Stack after: ${[\space\color{#947cdd}'Hello \space'\space\color{white}]}$

Output: World

Clone this wiki locally