"""
-------------------------------------------------------
[program description]
-------------------------------------------------------
Author:  Max Dann
ID:      190274440
Email:   dann4440@mylaurier.ca
__updated__ = "2020-03-31"
-------------------------------------------------------
"""
from Hash_Set_array import Hash_Set
from functions import insert_words,comparison_total
fn = "miserables.txt"
fv = open(fn, "r", encoding="utf-8")
hs = Hash_Set(20)
#insert_words(fv,hs)
#total,max_word = comparison_total(hs)
fruits = {"apple":"green","banana":"yellow"}
x = list(fruits.values())
fruits["apple"] = "hip"
print(fruits.pop("apple"))
print("Using array-based list Hash_Set")
print()
print("Total Comparisons: {:,}".format(total))
print("Word with maximum comparisons '{}': {:,}".format(max_word.word,max_word.comparisons))
#hs.debug()
