複習一下Python的字串處理: 文字相關方法name="Benjamin" print(str1.find("n")) # 2 print(str1.index("k")) # ValueError: substring no…
確定! 回上一頁