## slicing in python with examples

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 …

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. …

Read moreBubble Sort in Python Using a List, While Loop and Functions

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 …

Read moreReverse a String in Python Using Six Different Ways

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 …

A python queue is a linear data structure like a stack. It follows the last in first out (FIFO) manner. That means that the first element entered in the queue …

Python strip is a built-in function that returns the string without white space if there any at the start or the end. If you pass a string that has white …

It is a built-in function provided by python to round up any integer. If we pass a decimal number to the python round function with round off digits, it will …

Square root in python function is the predefined function. To use the square root function in python we need to import the math library in the code. The sqrt() returns …

Python was developed by Guido Van Russom in 1980 from ABC programming language. In 1994, Guido added Object-oriented programming concepts in python. Python 1.0 was launched in 1994 with OOP …

A string is a sequence of Unicode characters that may contain special and alphanumeric characters. Python substring, on the other hand, is a sequence of characters that is present within …

Read morePython Substring: How to Find Substring through Slicing