## Python Strftime Method with Examples

The python strftime() method returns the string which represents the date, time objects. The strftime() method is defined in the datatime library. To use this function, we need to import …

The python strftime() method returns the string which represents the date, time objects. The strftime() method is defined in the datatime library. To use this function, we need to import …

The Python return statement is used with the function. To return some value from the function, the python return statement is used. The line of code after the return statement …

Polymorphism is a Greek word. If we break the word into poly and morphism, then it means many forms. Polymorphism in Python is the ability to take many forms. Suppose …

The binary search in python is a technique to search elements in a given data set. A binary search is faster than a linear search. However, the binary search’s time …

A matrix in python is a two-dimensional list. The matrix is made of rows and columns. We can add n number of rows and columns in the matrix. Matrix will …

Recursion in python is the process by which a function calls itself repeatedly until some specified condition has been satisfied. This process is used in place of iterative computations in …

Python provides a new operator, namely the slice operator. With the help of a slice operator, we can divide the objects as per our requirement. Also, we can use this …

Bubble sort in python is a technique to sort the set of data in either ascending order or descending order. Bubble sort uses the compare and swap technique while sorting. …

We all know that python uses the Unicode format to store data. A string is an array of bytes in which string is stored. It means that the string is …

Fibonacci series in python is a sequence of numbers in which the current term is the sum of the previous two terms. The first two terms of the Fibonacci sequence …