Skip to content

Instantly share code, notes, and snippets.

@winniethemu
winniethemu / word_frequency.txt
Created September 30, 2020 20:34
word_frequency
the
day
is
sunny
the
the
the
sunny
is
is
import sys
# Use two blank lines since the methods are defined in
# the global scope. Otherwise use one.
def populate_list(input_lines):
for input_line in input_lines:
input_line = int(input_line)
values_list.append(input_line)