結果 : how to replace a string with a number in python