python. dont have to copy this entire code, just have to workinside the function def ZipfLaw(wf1): need to create x (index oflist from 1 to length of list) and y (normalised frequency of list,divide every element in list by sum of total number of words)createlists of length. Then need to take log transform of every elementthen do linear regression to find slope and expoential ofintercept. You dont have to plot. Thanks the
OR
OR