substr = 'apples' # Occurences of substring 'apples' in the string result = str1.count(substr) print("Number of substring occurrences:", ...
確定! 回上一頁