exercises cgenerate all the combinations of throwing two dice (the number of eyes can vary from to count how many combinations where the sum of the eyes equals filenamecombine_sets py exercise frequency of random numbers write program that takes positive integer as input and then draws random integers in the interval oe (both ends inclusivein the programcount how many of the numbersm that equal and write out the fraction = alsoprint all the random numbers to the screen so that you can check for yourself that the counting is correct run the program with small value for ( to confirm that it works as intended hint use random randint( , to draw random integer between and filenamecount_random_numbers py remarks for large this program computes the probability = of getting six eyes when throwing die exercise game consider some game where each participant draws series of random integers evenly distributed from and with the aim of getting the sum as close as possible to but not larger than you are out of the game if the sum passes after each drawyou are told the number and your total sumand are asked whether you want another draw or not the one coming closest to is the winner implement this game in program hint use random randint( , to draw random integers in oe filenamegame_ py exercise linear interpolation some measurements yi (given below)of quantity have been collected regularlyonce every minuteat times ti ii we want to find the value in between the measurementse at : min computing such values is called interpolation let your program use linear interpolation to compute between two consecutive measurements find such that ti ti find mathematical expression for the straight line that goes through the points iyi and yi compute the value by inserting the user' time value in the expression for the straight line aimplement the linear interpolation technique in function that takes an array with the yi measurements as inputtogether with some time tand returns the interpolated value at time