C
C++
Java
C#
Python
Python
Overview
Python
Chapters
Overview
(1)
Structure of Python Program (31)
Decision Making and Branching
(2)
IF Statement (1)
ELSE IF Leader (1)
Decision Making and Looping
(2)
While Loop (3)
For Loop (3)
Operators
(1)
Arithmetic Operators (1)
Overview
12-03-2018
1 Topics
32 Programs
Python Program to print “Hello World”.
Structure of Python Program
12-03-2018
Python Program that prints your Name and Address.
Structure of Python Program
12-03-2018
Python Program to print multiple lines with a single print.
Structure of Python Program
12-03-2018
Python Program that prints the 1 to 4 numbers.
Structure of Python Program
12-03-2018
Python Program that uses four print statement to print the following pattern.
Structure of Python Program
12-03-2018
Python Program to demonstrate integers and real variable declaration, initialization and printing of values.
Structure of Python Program
12-03-2018
Python Program to store the five vowels (a, e, i, o, u) in five suitably declared variables. Then print out the contents of the variables on a single line.
Structure of Python Program
12-03-2018
Python Program that asks the user to enter a quantity and a cost. The values are to be read into an integer named quantity and float named unit price. Define the variables, and use only one statement to read the values. After reading the value skip one line and print each value, with an appropriate name on a separate line.
Structure of Python Program
12-03-2018
Python Program that prompts the user to enter an integer and then prints the integer first as a character, than as a decimal, and finally as a float. Use separate print statements. A sample run is shown below. The number as a character: k The number as a decimal: 75 The number as a float: 0.000000
Structure of Python Program
12-03-2018
Python Program for Swapping of two numbers.
Structure of Python Program
12-03-2018
Python Program To Calculate Square And Cube Of Given Number
Structure of Python Program
12-03-2018
Python Program to calculate average of four integers.
Structure of Python Program
12-03-2018
Python Program to calculate simple interest.
Structure of Python Program
12-03-2018
Python Program to find area and perimeter of rectangle.
Structure of Python Program
12-03-2018
Python Program which reads the radius of circle and computes its area, diameter and circumference. Also perform the same program using symbolic constant.
Structure of Python Program
12-03-2018
Python Program to find area and volume of sphere.
Structure of Python Program
12-03-2018
Python Program to Find the Volume of a Cylinder
Structure of Python Program
12-03-2018
Python Program to calculate volume of a cube
Structure of Python Program
12-03-2018
Python Program to Calculate Area of Rectangle
Structure of Python Program
12-03-2018
Python Program to Calculate the Area of a Triangle
Structure of Python Program
12-03-2018
Python Program to convert a temperature in Fahrenheit to its Celsius equivalent, and one to convert a Celsius temperature to Fahrenheit.
Structure of Python Program
12-03-2018
Python Program that user enter an angle measured in radians and convert it into degrees. [1 radian = 57.295779 degrees]
Structure of Python Program
12-03-2018
Python Program to calculate total average and percentage of five subjects
Structure of Python Program
12-03-2018
Python Program to calculate gross salary of an employee.
Structure of Python Program
12-03-2018
Python Program to calculate a student's average score for a course with 4 quizzes, 2 midterms and a final. The quizzers are weighted 30%, the midterms 40%, and the final 30%.
Structure of Python Program
12-03-2018
Python Program to find the cost price of one item, if the total selling price of 15 items and the total profit earned on them is input through the keyboard.
Structure of Python Program
12-03-2018
Python Program to receive values of latitude and longitude in degrees, of two places on earth and outputs the distance between them in nautical miles. The formula for distance in nautical is : D=3963 cos
^{-1}
(sinL1sinL2+cosL1cosL2*cos(G2-G1))
Structure of Python Program
12-03-2018
Python Program for the right most digit of a number.
Structure of Python Program
12-03-2018
Python Program for In a town, the percentage of men is 52. The percentage of total literacy is 48. If total percentage of literate men is 35 of the total population, write a program to find the total number of illiterate men and women if the population of the town is 80,000.
Structure of Python Program
12-03-2018
Python Program for A cashier has currency notes of denominations 10, 50 and 100. If the amount to be withdrawn is input through the keyboard in hundreds, find the total number of currency notes of each denomination the cashier will have to give to the withdrawer.
Structure of Python Program
12-03-2018
Write a Python Program to create a customer's bill for a company. The company sells only five different products: TV, VCR, Remote controller, CD player and the tape recorder. The unit price is $400, $220, $35.20, $300 and $150 respectively. The program must read the quantity of each piece of equipment purchased from the keyboard. It then calculates the cost of each item, the sub total and the total cost after an 8.25% sales tax.
Structure of Python Program
12-03-2018
Python Program to Convert a Given Number of Days in terms of Years, Weeks & Days
Structure of Python Program
12-03-2018