- write short python program that takes two arrays and of length storing int valuesand returns the dot product of and that isit returns an array of length such that [ia[ib[ ]for - give an example of python code fragment that attempts to write an element to list based on an index that may be out of bounds if that index is out of boundsthe program should catch the exception that resultsand print the following error message"don' try buffer overflow attacks in python! - write short python function that counts the number of vowels in given character string - write short python function that takes string srepresenting sentenceand returns copy of the string with all punctuation removed for exampleif given the string "let trymike "this function would return "lets try mikec- write short program that takes as input three integersaband cfrom the console and determines if they can be used in correct arithmetic formula (in the given order)like " ," ,or " - in section we provided three different implementations of generator that computes factors of given integer the third of those implementationsfrom page was the most efficientbut we noted that it did not yield the factors in increasing order modify the generator so that it reports factors in increasing orderwhile maintaining its general performance advantages - the -norm of vector ( vn in -dimensional space is defined as vv vnp for the special case of this results in the traditional euclidean normwhich represents the length of the vector for examplethe euclidean norm of two-dimensional with coordinates ( has vector euclidean norm of give an implementation of function named norm such that norm(vpreturns the -norm value of and norm(vreturns the euclidean norm of you may assume that is list of numbers