stack::makeempty()
← Back to Class stack
Make the Stack empty
There are no parameters.
-
import adt/stack stack = stack() stack.push(10) stack.push(12) stack.push(8) stack.makeempty()
Documentation version: 1.0.16. Updated on: 14 July 2025.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2025. All rights reserved.