Write a python program that draw as pie chart go n frequent lettering word.txt file. The program, will
a) Use tkinter to build an interface to input n
b) Have a module imported that determine the probability of letter in words.txt
Probability = freq of letter/sum of freq of all letter
c) Use turtle to draw the pie chart
i - area of each segment of the pie chart is proportional to the probability of letter it represents
ii - each segment has a different color
iii - each segment has a legend showing the letter and its probability
iv - the last segment of the chart represent all other letter and their cumulative probability.
Attachment:- words.rar