Skip to main content

Simple stack implementation

Project description

Simple stack implementation.

Use: .push method to add a new element into stack .pop to delete and return last element from stack .peek to return a last element from stack .delete to delete a last element from stack .show to print elements from stack .clear to clear a stack .pop_all to delete and return all elements from stack .peek_all to return all elements from stack Also, this stack is iterable. The iteration starts from the last element of the stack.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smplstack-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smplstack-0.1.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file smplstack-0.1.0.tar.gz.

File metadata

  • Download URL: smplstack-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.2 Windows/10

File hashes

Hashes for smplstack-0.1.0.tar.gz
Algorithm Hash digest
SHA256 255c92ff8681464e3ee6e814cbd041c43503b856b41891fe2433352e4036cd7d
MD5 4610f0366a8651d7fa1d429592f5690e
BLAKE2b-256 d1089d3b173a49eb8c7c2b238438a7d6665812b121f7e22909b7ed5cedae2f04

See more details on using hashes here.

File details

Details for the file smplstack-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: smplstack-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.2 Windows/10

File hashes

Hashes for smplstack-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 436eac53e82451feb707e3e949eeb4e90b447e0ce5c62a285c7c199727ab68f6
MD5 55922004062f3165b210abd19b094694
BLAKE2b-256 338b06f1b2dc9e3493303f222b941288ee5bc2f34371a65d73ef81547f3374af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page