Category: FAQ

Python: How to Print Without Newline

By on March 13, 2020

Python is one of the most easiest language yet most powerful language to learn. Normally, one would start with print "hello world". No, you cannot start learning without that! Never!! In python, you can print any value using print function....

Python: How to check if string contains substring

By on March 6, 2020

In this code tidbit, we will discuss how to check if string contains substring in python. We will be using Python 3 for this tutorial. [Update your python to python 3 if you haven't done so!!] There are various ways...

PHP: How to generate a Unique id in PHP (Alphanumeric String)

By on February 25, 2020

In php, there are many ways to generate unique alphanumeric id. First of all, we will understand why we might need unique alphanumeric id in first place. In applications, normally we use unique integer ids which is generally generated by...

python if list contains

Python : How to check if list contains value

By on October 3, 2018

In this quick code reference, I will demonstrate how to check whether value or item exists in python list or not. It is very easy to find if list contains a value with either in or not in operator. Let's take an example...