Write a Python program to count occurrences of a substring in a string
- برمجة
- برمجة بايثون
- 2021-04-15
- salsabeelalhams99111801528
الأجوبة
str1 = 'The quick brown fox jumps over the lazy dog.'
print()
print(str1.count("fox"))
print()أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال