write a program make words py which reads a list of 26 letter frequencies and generatesrandom 5 letter strings that have those frequencies it expects these command linearguments sys argv 1 a file where each line is a letter a space and a frequency s

Write a program make_words.py which reads a list of 26 letter frequencies, and generatesrandom 5-letter strings that have those frequencies. It expects these command-linearguments:sys.argv[1]: a file where each line is a letter, a space, and a frequency.sys.argv[2]: how many words to generate (an int).For each word generated, just print() it. You can send the output to a file: python make_words freqs.txt 10000 > probe_words.txt