Double-Ended Queues in PythonThe regular queue data structure follows FIFO(First in First Out) rule. Queue is a great data structure, but when it comes to adding elements at the end or removing elements from the beginning, it gets complicated. This is where Double-Ended aka dequ...1 min read·afiz.hashnode.devDec 16, 2022
Data Types in Python (with code snippets)In Python, every value has a data type. There are various data types and in this thread we will discuss some of the important ones. Python Numbers Numbers are three types Integers floating point numbers complex numbers # integer age = 30 # ...3 min read·afiz.hashnode.devSep 18, 2022
How to get the city details with zipcode in Pythonhow to find city details in python1 min read·afiz.hashnode.devSep 16, 2022
Factorial program in PythonPython interview questions for beginners. Find the factorial of a given number.1 min read·afiz.hashnode.devJun 6, 2022
How to delete duplicates from a list in PythonIn this post, we will discuss how to remove duplicates from a list in Python. There are many ways to delete duplicates from a list, but I find these two methods easy and readable. Using sets Using fromkeys method of dict Please take a look the e...1 min read·afiz.hashnode.devJan 15, 2022