# Introduction

To begin with, Python is the most in-demand programming language which is easiest to learn for beginners. This basic python program article is framed to help beginners to understand the basic concepts of python with programs and solutions. Python certification course in Chennai at Credo Systemz is a practical oriented training course which starts from the basic with the help of professional expert trainers.

### Basic python programs

- Python program to perform basic arithmetic operations
- Python program to find the factorial of a given number
- Python program to find the simple and compound interest
- Python program to check whether the given number is prime or composite
- Python program to find the biggest of three numbers
- Python Program to display the multiplication Table
- Python Program to Check Armstrong Number
- Python Program to Check Whether the given String is Palindrome or Not

### Python program to perform basic arithmetic operations

### Basic Arithmetic operations

- Addition
- Subtraction
- Multiplication
- Division

**Program**

**Output**

Enter the First number: 4

Enter the Second number: 2

Addition: 6

Subtraction: 2

Multiplication: 8

Division: 2

### Python program to find the factorial of a given number

A factorial of a given number calculated by findingthe product of all the numbers from 1 to the user specified number.### Using traditional iterationmethod

**Output**Enter the Given number: 3

Factorial: 6

### Using in-built function

**Output**
Enter the Given number: 4

Factorial of given number: 24

### Python program to find the simple and compound interest

**Output**
Enter the Principle amount: 5000

Enter the time period: 2

Enter the rate of interest: 5

Simple Interest: 500

Compound Interest: 5500

### Python program to check whether the given number is prime or composite

The prime number is a whole number with two integral divisors i.e., divisible by 1 and itself. The composite number is a whole number with more than two integral divisors.**Output**
Enter a number: 3

3 is a PRIME number

### Python program to find the biggest of three numbers

**Output**
Enter first number: 12

Enter second number: 17

Enter third number: 25

The largest number is 25

### Python Program to Display the multiplication Table

To displays the multiplication table of variable num (from 1 to 10).**Output**
Enter the number for multiplication table: 2

2 x 1 = 2

2 x 2 = 24

2 x 3 = 36

2 x 4 = 48

2 x 5 = 60

2 x 6 = 72

2 x 7 = 84

2 x 8 = 96

2 x 9 = 108

2 x 10 = 120

### Python Program to Check Armstrong Number

Armstrong number is a number equal to the sum of the cubes of its own digits. For example, 370 is an Armstrong number since 153 = 1*1*1 + 5*5*5 + 3*3*3. **Output**

Enter a number: 370

370 is an Armstrong number

### Python Program to Check Whether a Given String is Palindrome or Not

A palindrome is a string that is the same when read forward and backward as well. For example: mom, madam, pop, radar**Output**

The string is a palindrome.

### Conclusion

These basic python programs helps to understand about how to write simple python programs, data types, operations and to learn, explore more.