zjfz-2019-s402281/intro/Task106.py
2020-01-12 13:16:55 +01:00

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