#Modify the following codes to include the O, Q, SP, TP & EP based on Section D, Question 1 of your Test 2.#Print the best path only. You may verify if your manual calculations in Question 1 is correct using the codes#Please ignore the transition from 0 -> BOS#You are allowed to REUSE the codes that you have done for your HMM exercise.#However, if you do not have the codes (because you did not do your exercise), you may only reuse the given codes :)#Modify these states to suit Question 1 (Section D)Q = (‘Sunny’,’Rainy’)O = (‘walk’, ‘shop’, ‘clean’)SP =
PayPal Gateway not configured
PayPal Gateway not configured