info = ''' The mission of the Python Software Foundation is to promote, protect, and advance the Python programming language, and to support and facilitate the growth of a diverse and international community of Python programmers. '''
a = info.count('a') b = info.count('b') c = info.count('c') d = info.count('d') e = info.count('e') f = info.count('f')
print(a, b, c, d, e, f) number_list = [a, b, c, d, e, f] print(number_list) print('在列表中最大的数值是', max(number_list))
number_dict = { 'a': a, 'b': b, 'c': c, 'd': d, 'e': e, 'f': f, } print('每个成员对应的数值分别是', number_dict)