16 lines
296 B
Python
16 lines
296 B
Python
#!/usr/bin/python2
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""Rozwiązanie zadania 106."""
|
|
|
|
def freq_dic(seq):
|
|
"""Placeholder"""
|
|
dictionary = {}
|
|
|
|
for xxx in seq:
|
|
if dictionary.has_key(xxx):
|
|
dictionary[xxx] += 1
|
|
else:
|
|
dictionary[xxx] = 1
|
|
return dictionary
|