Homework:
a = (29,45,38,55,7,13,1)
n = a.index(55)
print("Index of 55 is: ",n)
leng = len(a)
print("Length of the list is: ",leng)
for i in a:
print(i,end = "\t")
print()#output a new line
b = sorted(a)
for i in b:
print(i,end = "\t")
print()#output a new line
[…] Management System (Part 1)| |____Unit 38 Student Information Management System (Part 2)| |____Unit 39 Tuple| |____Unit 40 Dictionaries| |____Unit 41 English-Chinese Dictionary| |____Unit 42 String […]