Posts by Siddharth Shankar Debata

Author Biographical Info: I am pursuing B.Tech in Computer Engineering. I am an enthusiastic learner and programmer. I am passionate about my work because I love what I do. I have a steady source of motivation that drives me to do my best. I have an interest in studying computer science because I find it fascinating. I am highly organized. I like to keep a clean workspace and create a logical filing method. I am looking to pursue a career in the programming field. I want to study computer science because I want to gain the knowledge needed to be able to help find solutions to world problems, with the efficient use of computer technology. Studying computer science is an exciting life-changing experience, offering me the opportunity to discover important strategies.

Find binary equivalent of a number recursively in Python

By Siddharth Shankar Debata

Today, we will learn to find the binary equivalent of a number recursively in Python. A binary number is a number that follows the base-2 numeral system. Any binary number consists.... Read More

Convert binary to gray code in Python

By Siddharth Shankar Debata

In this tutorial, we will learn to convert binary to gray code in Python. A binary number is a number that is expressed in the base-2 numeral system. Therefore, a binary number is .... Read More

Python program to find sum of ‘n’ natural numbers

By Siddharth Shankar Debata

In this tutorial, we will learn to find the sum of the first ‘n’ natural numbers in Python. Many times, we need to solve series which contains natural numbers sequentia.... Read More

Find common divisors of two numbers using Python

By Siddharth Shankar Debata

In this tutorial, we will find the common divisors of two numbers using a Python program. Common divisors are numbers that divide both the numbers perfectly. Here, we will learn wh.... Read More

Print all Happy numbers within given range in Python

By Siddharth Shankar Debata

In this tutorial, we will learn to print all the happy numbers within the given range in Python. If you want a Python program to display happy numbers within the range given by the.... Read More

Find the HCF of two numbers in Python

By Siddharth Shankar Debata

In this tutorial, we will learn to find HCF (Highest Common Factor) of two numbers in Python. The Highest Common Factor (HCF) or Greatest Common Divisor (GCD) is the largest positi.... Read More

Sum of geometric progression series in Python

By Siddharth Shankar Debata

In this tutorial, we will learn to display the sum of geometric progression series in Python. In a geometric progression, the ratio of any two consecutive numbers is the same. And .... Read More

Count occurrence of character in file using Python

By Siddharth Shankar Debata

Today in this tutorial, we will get to know how to count the occurrence of a character in a text file using Python. Here we will take a text file ‘text.txt’ as the prog.... Read More