結果 : how to replace a string with an integer in python