0% found this document useful (0 votes)
2 views

Python programs

The document outlines ten different programs, each with a specific aim, such as printing personal information, generating patterns, calculating squares, sums, conversions, simple interest, areas, and averages. Each program includes a procedure and indicates that it has been executed successfully. The overall structure emphasizes the objectives and successful execution of basic programming tasks.

Uploaded by

Balaji Desikan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Python programs

The document outlines ten different programs, each with a specific aim, such as printing personal information, generating patterns, calculating squares, sums, conversions, simple interest, areas, and averages. Each program includes a procedure and indicates that it has been executed successfully. The overall structure emphasizes the objectives and successful execution of basic programming tasks.

Uploaded by

Balaji Desikan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Program 1

AIM:

To print personal information like Name, Father’s Name, Class, and School Name.

PROCEDURE:

OUTPUT:

RESULT:

The program has been executed successfully.


Program 2

AIM:

To print the following patterns using multiple print commands-

a) * b)****

** ***

*** **

**** *

PROCEDURE:

OUTPUT:

RESULT:

The program has been executed successfully.


Program 3

AIM:

To find the square of number 7.

PROCEDURE:

OUTPUT:

RESULT:

The program has been executed successfully.


Program 4

AIM:

To create a program to find the sum of two numbers 15 and 20.

PROCEDURE:

OUTPUT:

RESULT:

The program has been executed successfully.


Program 5

AIM:

To create a program to convert length given in kilometers into meters.

PROCEDURE:

OUTPUT:

RESULT:

The program has been executed successfully.


Program 6

AIM:

To create a program to print the table of 5 up to five terms .

PROCEDURE:

OUTPUT:

RESULT:

The program has been executed successfully.


Program 7

AIM:

To create a program to calculate Simple Interest if the principle_amount=2000


rate_of_interest=4.5 time = 10.

PROCEDURE:

OUTPUT:

RESULT:

The program has been executed successfully.


Program 8

AIM:

To calculate the area and the perimeter of the rectangle.

PROCEDURE:

OUTPUT:

RESULT:

The program has been executed successfully.


Program 9

AIM:

To calculate the area of a triangle with Base and Height

PROCEDURE:

OUTPUT:

RESULT:

The program has been executed successfully.


Program 10

AIM:

To calculate the average marks of 3 subjects

PROCEDURE:

OUTPUT:

RESULT:

The program has been executed successfully.

You might also like