Getting an error in using the sum and multiply code together

I’m getting an error in the multiplication program firstly i used the sum program and the code ran successfully but after the when i continued the multiplication program in it , i am getting an erorr and i watched the video thoroughly and re checked the code many times i am not able to understand why I’m getting an error ( in the video 2nd just before the simple intrest video ) and I’m not able to upload the pic