B. True True False
8
[9, 7, 9, 7, 8]
a,b = s,s[:] # Here reference to s gets copied to a, but a shallow copy is created for all elements of s and reference is stored in b.
Shallow Copy: Only the copy of the container object is made, references to internal elements remain the same. If internal elements are changed by reference, changes will reflect in all shallow copies.
a is s, b == s, b is s
x == y : Compare by values, return true if all are equal
x is y : Return true if x and y point to the same object (container)
Since b is a shallow copy, it points to a different container but is equal to a by value.
a.pop() only changes the container a, popping 8. Since b has a different container and reference to 8 was not changed inside b, it will not change. (Note: Constants are immutable in python. Changing constants or immutable data structures in any shallow copy will change the reference inside the new container, not affecting the original values. But reference data structures like lists, maps will reflect changes in all shallow copies.)
$\therefore a+b\ is\ [9,7,9,7,8]$