Category Python

Python Stacks and Queues

lists stacks queues

Essentially, python does not have stack and queues like programming languages like Java. In this post, we will be exploring the implementation of Python stack and queues using the collections library.

List in Python

list in python

A list in Python is an ordered sequence of objects or data. It comprises data items or elements separated by commas and enclosed within a squared bracket.

Regular Expressions in Python

regular expressions in python

Regular expressions are specially formatted strings or patterns used to match character combinations in strings. They can be used to find or replace string patterns in texts.