# Python Programs

## Python Program to Generate a Random Number

Python program to generate a random number. There are two Python language program to produce random number. In the first program there is no range or limit. However, in second program, random variable generated with in given range. This program is useful for beginners, CBSE class 11, 12 and B Tech Computer science with python …

## Python program to swap two variables

Python program to swap two variables. We are here presenting two method of swapping the two variables. It is asked in CBSE class 11, 12 and B Tech Computer science courses. Aim: Write a python program to swap two variables. Method 1 : By using temporary variable. Enter the variables P and Q. A temporary …

## Python program to solve quadratic Equation

Python program to solve quadratic Equation. This program is for the beginners , class 11, 12 and B Tech Computer Science (CS) students. It checks the user Python library familiarization, Python simple syntax and mathematical knowledge. Download source code. Aim: Write a Program to solve quadratic equation in Python. How does the program works: First …

## Python program to find the area of a triangle

Python program to find the area of a triangle. It is a simple computer program in python language and necessary one for beginners, class 11 and 12 and B Tech Lab practical. Download source code. AIM : Python program to find the area of a triangle How the program works? The program first accept the …

## Python program to do Arithmetical Operations

Python program to do Arithmetical Operations. This program is a must for python beginners. This programs does mathematical calculation that we define in the program and print the answer. Download source code. Aim: Write a program in python to do Arithmetical Operations How the Program will works ? We will be taking input of two …

## Python program to print “Hello Python”

Aim:Python program to print “Hello Python” Introduction : Python is a general purposing interrupted computer language. The coding done in python is of simple readability and indentations. Its Program and project are made of easy object orienting language. Its uses various English keyword. This is the most simplest (basic) programme. It specifies how to print …