15. If you give the following for str1 = “Hello”, why does Python report error? str1[2] = ‘ p ‘

This reports an error because strings are immutable and its in place value can’t be changed but a complete string can be changed because then it just points to a new memory location. For instance str1 = ‘World’ is valid.