Python(Spider version of it) related questions Write a Python program that calculates:a.) The average trade size.b.) The probability that the next trade be a size of 1.c.) The probability that the next trade will be between 5 and 10, inclusive.Data is attached as a file.