## Find Missing Number in a given Array Using Python

Problem Definition Find the missing numbers in a given list or array using Python. For example in the arr = [1,2,4,5] the integer ‘3‘ is the missing number. There are … Read more

Problem Definition Find the missing numbers in a given list or array using Python. For example in the arr = [1,2,4,5] the integer ‘3‘ is the missing number. There are … Read more

In this tutorial, we will learn how to send emails with CSV attachments using Python. Pre-Requirements I am assuming you already have an SMTP server setup if not you can … Read more

In this tutorial, we will learn how to send emails with zip files using Python’s built-in modules. Pre-Requirements I am assuming that you already have an SMTP (Simple Mail Transfer … Read more

Problem Definition Create a python program to reverse a sentence. Algorithm Take a string as input. Convert the sentence into a list of words. Join the list in the reverse … Read more

The octal numeral system, or oct for short, is the base-8 number system and uses the digits 0 to 7. The main characteristic of an Octal Numbering System is that … Read more

A binary number is a number expressed in the base-2 numeral system or binary numeral system, which uses only two symbols 0 and 1. The decimal numeral system is the … Read more

In this article, we will go over different ways to generate pyramids and patters in Python. Half pyramid of asterisks def half_pyramid(rows): for i in range(rows): print('*' * (i+1)) half_pyramid(6) … Read more

The factor of any number is a whole number which exactly divides the number into a whole number without leaving any remainder. For example, 3 is a factor of 9 … Read more

Problem Definition Create a Python program to take two numbers from the user one being the base number another the exponent then calculate the power. Program import math base_number = … Read more