2 Checksum The International Standard Book Number (ISBN) is a 10-digit code that uniquely specifies a book. The right most digit is a checksum digit that can be miquely determined from the other 9 digits, from the condition that de + 2d2+31 +...+1000 mest be a multiple of 11 (berede denotes the ith digit from the right). The checksum digit da can be any value from 0 to 10: the ISBN convention is to use the character X to denote 10. For example. The checksum digit corresponding to 020131452 is 5, because 5 is the caly value of m between 0 and 10 for which 10 x 0 +9 x 2 +8 x 0 +7x1+6x3+5 x 1+4 x 4+3 x 5+2 X 2+1 is a multiple of 11. Write a program named checksumpy that takes a S-digit integer as input, computes the checksum, and write the ISBNmber For example if the input is 020131452, the checksum value is 3 and the displayed ISBN-10 ITSE 101 Programming Assignment 2 is 0-201-31452-5. Similarly, if the input is 933257743, the checksum will be 9 and the ISBN-10 is 9-332-57743-9. Add the following comments to the beginning of checksun py # FileName checksum.py # Student ID :
# Student Name: Run and test your program. Once your are able to run the program successfully, submit checksun.py using the E-learning system. Hint: The input (te, 020131452) should be a string. Use a fer loop to loop through each one of the digits in the string in the loop, convert the individual digit to an integer and do the necessary calculations 3 Outliers In many statistical analysis programs, data values that are considerably outside the range of the majority of the values are simply dropped from consideration, using this informa tion write a program namned outliers.py that accepts a number of floating point values from the user and display the average and the sample standard deviation of the input val- es. All values more than two standard deviations away from the computed average are to be displayed and dropped from any further calculation, the new average and standard deviation should be computed and displayed. For example if the input consist of the following list of numbers 7 4 6 6 5 5 3 10 19 9 The average of the above values is 7.4 and the sample standard devintion is 4.6. The only outlier in the above data is 19 because it more that two standard deviation larger than the average. This your program should display 19 as an outliers remove it from the