Run
mylist = [6, 52, 74, 62, 85, 62, 62, 85, 6, 92, 74] length_74 = mylist.count(74) length_62 = mylist.count(62) length_92 = mylist.count(92) print('74 occurred', length_74, 'times in the list.') print('62 occurred', length_62, 'times in the list.') print('92 occurred', length_92, 'times in the list.')
Output