結果 : common prefix of two strings python