The find() method returns the index of first occurrence of the substring (if found). If not found, it returns -1. Example. message = 'Python is a fun ...
確定! 回上一頁