Many times we need to optimize our code as our program is spending too much time on some specific line of code. There are hundreds of lines of code and we are stuck on which piece of code to modify to increase the efficiency of the code. For, this python Read more…