Program to generate factors of a number

Let’s write a Python program to generate factors of a number. What are factors of a number? The factors of a number are those numbers which can divide the given number exactly. A number when divided by its factor yields a zero remainder. Some examples are given below. Each number has atleast two factors, 1... » read more

Program to generate Fibonacci Series
Program to generate Fibonacci Series

Let’s write a Python program to generate Fibonacci series. We will also write a program to generate the prime numbers in a Fibonacci series. What is a Fibonacci series? The Fibonacci Series is a series of numbers in which the first number is 0 and the second number is 1. The third number is the... » read more