Professional Documents
Culture Documents
Program Code:
Output:
Aim of the practical:
Program Code:
def bubbleSort(nlist):
for i in range(passnum):
temp = nlist[i]
nlist[i] = nlist[i+1]
nlist[i+1] = temp
nlist = [14, 46, 43, 27, 57, 41, 45, 21, 70]
bubbleSort(nlist)
print(nlist)
Output:
Aim of the practical:
Program Code:
Output:
Output:
Evaluation Grid :