## Pyramid Pattern in Python

Hello everyone, welcome back to programminginpython.com! I recently started a new series on pattern programming, I explained how to print a  Floyd’s Triangle pattern in the previous post. Here I will explain to you how …

## Floyd’s Triangle Pattern in Python

Hello everyone, welcome back to programminginpython.com! I am going to create a new series on pattern programming, I will start with Floyd’s Triangle pattern. A Floyd’s Triangle is a right-angled triangle which is defined by filling …

## Python Program to find the LCM of two numbers

Hello everyone, welcome back to programminginpython.com. Here I am going to tell a simple logic by which we can find the LCM of two numbers in python. LCM means Least Common Multiple, for a given …

## Python program to implement Linear Search Algorithm

Hello everyone, welcome back to programminginpython.com! Here I am going to explain to you how to implement linear search algorithm in python. This linear search is a basic search algorithm which searches all the elements …

## Separate even and odd numbers in a list

Hello everyone! Welcome back to programminginpython.com Here in the post am going to add one program which covers the python data-type list. Here I will separate all the even and odd numbers from a list to …

## Python program to find number of digits in a number

Hello everyone, welcome back to programminginpython.com! Here in this post I will show you how to find the number of digits in a number. A pretty simple logic. You can watch this video on Youtube …

## Python program to print Fibonacci sequence

Hello everyone, welcome to programminginpython.com. Here I am going to discuss a python program which prints the Fibonacci sequence of a given number. Fibonacci sequence is calculated by summing up all the numbers below that …

## Python program to find the largest and smallest number in a list

Hello everybody, this is a Python program which finds out the smallest and largest number in the list. Here we use 2 predefined functions min() and max() which check for the smallest and largest number in a list …

## Python program to find reverse of a number

Hello everyone, welcome back! Here we will learn a simple python logic to reverse a number. Here we read a number from the user and reverse that number using some arithmetic operations like mod (%) …

## Python program to find average of N numbers

Hello everyone, welcome back to programming in python! Here we will learn a simple logic to find average on N numbers in python. This program takes max numbers from the user and calculates the sum of …