diff --git a/2021-04-19/max.py b/2021-04-19/max.py new file mode 100644 index 0000000..595e3f6 --- /dev/null +++ b/2021-04-19/max.py @@ -0,0 +1,10 @@ + +dict = {} + + +for line in open("words.txt"): + word = line.strip() + final_letter = word[-1] + dict[final_letter] = word + +print(dict)