Posts by Abhinav Chandra

Author Biographical Info: Not available

How to rotate an array in Python

By Abhinav Chandra

In this tutorial, we will see how to rotate an array in Python by a given number of elements. Rotating an array is a process involving the shifting of the elements by n positions. .... Read More

Named Tuples in Python

By Abhinav Chandra

This tutorial deals with named tuples in Python. Python has various data structures that can be used to store and manipulate data. One such data structure is a named tuple. The nam.... Read More

Finding the power of a number using recursion in Python

By Abhinav Chandra

A recursive function is a function that continuously calls itself. Here, in this tutorial, we are seeing how to find the power of a number using a recursive function in Python. How.... Read More

Working of os.path.relpath() method in Python

By Abhinav Chandra

We use the os module in Python for interacting with the operating system. The os module comes with various sub-modules that can be used depending upon the kind of task we need to p.... Read More

Related Posts