Posts by Svarnim Agarwal

Author Biographical Info:

Sum of Integers in A Range in Python

By Svarnim Agarwal

In this tutorial, we will be finding the sum of natural numbers in the range given by the user. We will be using a for loop to find the same. To calculate the sum of integers in a .... Read More

Python Function To Display A Calendar

By Svarnim Agarwal

In this tutorial, we will be looking at a python function to display a calendar, i.e. all the dates of a month, of any year. The year and month are inputted by the user. This is a .... Read More

How To Create A Countdown In Python

By Svarnim Agarwal

In this tutorial, we will see how to create a countdown in python. The code will take input from the user regarding the length of the countdown in seconds. After that, a countdown .... Read More

How To Create A Stopwatch In Python

By Svarnim Agarwal

In this tutorial, we will be going through a fun program to create a stopwatch in python. For this, we will be using time.time() function from the time module. A stopwatch essentia.... Read More

Sort Words in a List in Alphabetical Order in Python

By Svarnim Agarwal

In this tutorial, we will learn how to sort words in a list in alphabetical order in python. This is a very simple code and requires the use of only one string function. Python con.... Read More

Python Program to Remove Punctuations From a String

By Svarnim Agarwal

In this tutorial, we will see how to remove punctuations from a string in python. A string is essentially just a list of characters, so we will go through each character and assign.... Read More