0% found this document useful (0 votes)
1 views2 pages

Programme List for Practice-Python

Program

Uploaded by

thestore.hall0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views2 pages

Programme List for Practice-Python

Program

Uploaded by

thestore.hall0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PYTHON PROGRAMME LIST

PRINT
● To print personal information like Name, Father’s Name, Class, School Name.
● To print the following patterns using multiple print commands-

● To find square of number 7


● To find the sum of two numbers 15 and 20.
● To convert length given in kilometers into meters.
● To print the table of 5 up to five terms.
● To calculate Simple Interest if the principle amount = 2000 rate_of_interest =4.5 time = 10

INPUT
● To calculate Area and Perimeter of a rectangle
● To calculate Area of a triangle with Base and Height
● To calculating average marks of 3 subjects
● To calculate discounted amount with discount %
● To calculate Surface Area and Volume of a Cuboid

LIST
● Create a list in Python of children selected for science quiz with following
names- Arjun, Sonakshi, Vikram, Sandhya, Sonal, Isha, Kartik
Perform the following tasks on the list in sequence-
○ Print the whole list
○ Delete the name “Vikram” from the list
○ Add the name “Jay” at the end
○ Remove the item which is at the second position.
● Create a list num=[23,12,5,9,65,44]
○ print the length of the list
○ print the elements from second to fourth position using positive indexing
○ print the elements from position third to fifth using negative indexing
● create a list of first 10 even numbers, add 1 to each list item and print the final list.
● Create a list List_1= [10, 20, 30, and 40]. Add the elements [14, 15, 12] using
extend function. Now sort the final list in ascending order and print it.

IF, FOR,WHILE
● Program to check if a person can vote
● To check the grade of a student
● Input a number and check if the number is positive, negative or zero and
display an appropriate message
● To print first 10 natural numbers
● To print first 10 even numbers
● To print odd numbers from 1 to n
● To print sum of first 10 natural numbers
● Program to find the sum of all numbers stored in a list

Some Suggested Programs List


● Write a program to add the elements of the two lists.
● Write a program to calculate mean, median and mode using Numpy
● Write a program to display line chart from (2,5) to (9,10).
● Write a program to display a scatter chart for the following points
(2,5),(9,10),(8,3),(5,7),(6,18).
● Read the csv file saved in your system and display 10 rows.
● Read csv file saved in your system and display its information
● Write a program to read an image and display using Python
● Write a program to read an image and identify its shape using Python

*******************************************

You might also like