# -------------------------------------
# Chapter -4 practice set...
# -------------------------------------

# (1)

# f1 = input("Enter Fruit Number 1: ")
# f2 = input("Enter Fruit Number 2: ")
# f3 = input("Enter Fruit Number 3: ")
# f4 = input("Enter Fruit Number 4: ")
# f5 = input("Enter Fruit Number 5: ")
# f6 = input("Enter Fruit Number 6: ")
# f7 = input("Enter Fruit Number 7: ")
# myFruitList = [f1, f2, f3, f4, f5, f6, f7]
# print(myFruitList)

# (2)

# m1 = int(input("Enter Marks for Student Number 1: "))
# m2 = int(input("Enter Marks for Student Number 2: "))
# m3 = int(input("Enter Marks for Student Number 3: "))
# m4 = int(input("Enter Marks for Student Number 4: "))
# m5 = int(input("Enter Marks for Student Number 5: "))
# m6 = int(input("Enter Marks for Student Number 6: "))
# m7 = int(input("Enter Marks for Student Number 7: "))
# myList = [m1, m2, m3, m4, m5, m6, m7]
# myList.sort()
# print(myList)

# (3)

# a = (2, 3, 5, 7)
# a[0] = 45

# (4)

x = [2, 4, 56, 8]
# print(x[0] + x[1] + x[2] +x[3])
# print(sum(x))

# (5)

z = (2, 4, 6, 8, 4, 2, 2, 9)
# print(z.count(2))