## 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 Factorial of a given number

Hello people, am back here to discuss on how to find the factorial of a given number. Generally, a factorial on given number is given by calculating its product with all the numbers below it. Factorial …

## Python program to find area of triangle (given base and height)

Hello everybody, welcome back! Here we learn how to find the area of a triangle when base and height of a triangle are given. We calculate the area by multiplying base and height and dividing it …

## Python program to find area of a triangle ( given all sides )

Hello everybody, welcome back! Here we learn how to find the area of a triangle when all the 3 sides of it are given. First, we calculate semi-perimeter s as sum of all sides divided …

## Python program to find a number is prime or composite

Hello people, welcome back! Here we discuss a python program which finds whether a given number is a prime number or composite number or neither of them. Definition: A number which is greater than 1 …

## Find square root of a number using sqrt() function

Hello everyone, Welcome back! Here we discuss a very simple python program which finds the square root of a given number using a module called Math and use one of its method sqrt(). In the …

## Find square root of a number using exponential operation

Hello everyone, welcome back! Here we learn about a python program which finds the square root of a given number. We find the square-root of a number using exponential operations. Here I calculate the square-root …

## Python program to calculate the sum of elements in a list

Hello everyone, am back to discuss a new python program. Here we learn how to sum all the elements in a list quite easily. We use a predefined function called sum() and apply it to …