# Exercise 1: Download a copy of the file www.py4e.com/code3/remo-full.txt
# Write a program that reads the words in remo-full.txt and stores them as keys in a dictionary.
# It doesn’t matter what the values are.
# Then you can use the in operator as a fast way to check whether a string is in the dictionary.
fin = open('../remo-full.txt')
d = dict()
for line in fin:
    words = line.split()
    for w in words:
        d[w] = ''

print('be' in d)
