Correct answer is : B
"from" string available at index 23 and 27.
str.endswith(suffix[, start[, end]]) - With optional start, test beginning at that position. With optional end, stop comparing at that position.
so 'from' stops at 27 , so it will match endswith
Comment here: