Professional Documents
Culture Documents
Practical File
Index
name.
file.
Practical 1
Aim:Write a python program to search an element in a
list and display the frequency of element present in list and
their location using Linear search by using user defined
function. [List and search element should be entered by
user]
Software Used: IDLE(Python 3.8 32-bit)
Code:
7
Output 1:
Output 2:
Practical 2
8
Output 1:
9
Output 2:
Practical 3
10
Code:
Output 1:
11
Output 2:
Output 3:
Practical 4
12
Code:
Output 1:
13
Output 2:
Output 3:
Practical 5
14
Code:
Output 1:
15
Output 2:
Practical 6
16
Code:
Output 1:
17
Output 2:
Output 3:
Practical 7
18
Code:
Output 1:
19
Output 2:
Output 3:
Practical 8
20
Output 1:
21
Output 2:
Output 3:
22
Practical 9
23
Code:
24
Output:
Practical 10
25
Output 1:
26
Output 2:
Output 3:
Practical 11
27
Code:
Output:
Practical 12
29
Code:
30
Output:
Practical 13
31
Code:
Output:
Practical 14
33
Code:
Output:
Practical 15
35
Output 1:
36
Output 2:
Output 3:
37
Practical 16
38
Code:
Output 1:
39
Output 2:
Practical 17
40
Code:
Output 1:
41
Output 2:
Practical 18
43
Output 1:
44
Output 2:
Output 3:
45
Output 4:
Thank You