Python Project
Python Project
Python Project
PRACTICAL
FILE
ON
PYTHON
PROGRAMMING
SUBMITTED BY : -
GURAMRIT SINGH SONI
CLASS - XI-D
ROLL NUMBER - 9
Page 1/44


f
Page 2/44


f
Page 3/44


f
Page 4/44


f
1. Output
Input 1
Input 2
Input 3
Page 5/44


f
Ques. 1
Page 6/44


f
2. Output
Input 1
Input 2
Page 7/44


f
Ques. 2
Page 8/44


f
3. Output
Input 1
Input 2
Input 3
Page 9/44


f
Ques. 3
Page 10/44


f
4. Output
Input 1
Input 2
Input 3
Page 11/44


f
Ques. 4
Page 12/44


f
5. Output
Input 1
Input 2
Page 13/44


f
Ques. 5
Page 14/44


f
6. Output
Page 15/44


f
Ques. 6
Page 16/44


f
7. Output
Input 1
Input 2
Input 3
Page 17/44


f
Ques. 7
Page 18/44


f
8. Output
Input 1
Input 2
Page 19/44


f
Ques. 8
Page 20/44


f
9. Output
Input 1
Input 2
Input 3
Page 21/44


f
Ques. 9
Write a python program to compute factorial of an
inputted integer.
Page 22/44


f
10. Output
Page 23/44


f
Ques. 10
Write a python program to determine whether an
inputted character is uppercase, lowercase character,
digit or any other character.
Page 24/44


f
11. OUTPUT
Input
Page 25/44


f
Ques. 11
Page 26/44


f
12. OUTPUT
Input
Page 27/44


f
Ques 12
Write a program to calculate the mean of a given list of
numbers.
Page 28/44


f
13. OUTPUT
Input 1
Input 2
Page 29/44


f
Ques. 13
Write a program to search for an element in a given list
of numbers.
Page 30/44


f
14. OUTPUT
Input 1
Input 2
Page 31/44


f
Ques. 14
Write a program to count the frequency of a given
element in list of numbers.
Page 32/44


f
15. OUTPUT
Input 1
Input 2
Page 33/44


f
Ques. 15
Write a program to check if there are multiple maximum
elements in a tuple or not.
Page 34/44


f
16. OUTPUT
Input 1
Input 2
Page 35/44


f
Ques. 16
Write a program to check if the elements in the first half
of a tuple are sorted in ascending order or not.
Page 36/44


f
17. OUTPUT
Input 1
Input 2
Input 3
Page 37/44


f
Ques. 17
Write a program to count the frequency of a list of
elements using a dictionary.
Page 38/44


f
18. OUTPUT
Input
Page 39/44


f
Ques. 18
Write a program to print the maximum, minimum, sum
of keys of numbers dictionary as given below.
numbers=(1:111, 2:222,3:333,4:444}
Also individually find minimum, maximum and sum of
values.
Page 40/44


f
19. OUTPUT
Input 1
Input 2
Input 3
Page 41/44


f
Ques. 19
Write a program and create a dictionary with names of
employees, their salary and access them.
Page 42/44


f
20. OUTPUT
Input 1
Input 2
Page 43/44


f
Ques. 20
Write a program to generate 6 random numbers and to
then print their mean, median and mode.
Page 44/44