Handling Integer Numbers in Python

In this article, we will discuss how to handle integer numbers in Python. We will discuss about positive integers and negative integers, even numbers and odd numbers, prime numbers and composite numbers. Let’s begin our journey of integer numbers. What are Integers? Numbers which do not have a fractional part are classified as integers. Integers... » 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

Program to check if number is Prime
Program to check if number is Prime

Let’s write a Python program to check if number is prime or not. What is a Prime number? A number which is not divisible by any number except 1 and itself is called as a prime number. A prime number has only two factors, 1 and itself. How to check if number is prime? To... » read more