#---------------------------------------------------------------------------- # fruit=[""] # f1 = input("Enter the name of first fruit : ") # fruit.append(f1) # f2 = input("Enter the name of Second fruit : ") # fruit.append(f2) # f3 = input("Enter the name of Third fruit : ") # fruit.append(f3) # f4 = input("Enter the name of Fourth fruit : ") # fruit.append(f4) # f5= input("Enter the name of fifth fruit : ") # fruit.append(f5) # f6 = input("Enter the name of Sixth fruit : ") # fruit.append(f6) # f7 = input("Enter the name of Seventh fruit : ") # fruit.append(f7) # print(fruit) #---------------------------------------------------------------------------- # score = [] # s1 = int(input("ENTER THE SCORE OF THE 1st STUDENT : ")) # score.append(s1) # s2 = int(input("ENTER THE SCORE OF THE 2nd STUDENT : ")) # score.append(s2) # s3 = int(input("ENTER THE SCORE OF THE 3rd STUDENT : ")) # score.append(s3) # s4 = int(input("ENTER THE SCORE OF THE 4th STUDENT : ")) # score.append(s4) # score.sort # print(score) #---------------------------------------------------------------------------- # a = (1,2,34,4,5,6,6535,77,,4533,546,3) # a[4] = 45 # print (a) #---------------------------------------------------------------------------- # number = [433,4523,345,3453,45345,346,3456,457547,457,56745,67456,74567,4356,34526,3456,3456] # print(sum(number)) #---------------------------------------------------------------------------- # a = (2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,34,4,5,46,456,456,456,78,88,8,8,8,8,8,8,8,8,8,8,8,4,4,4,4,4,4,4,4,4,4,6,7586,8968,97,9,9,9,898,9,9,9,9,9,9) # count = a.count(8) # print(count)