From f0e9fb3da45fb0c24d4345ed36024f5cf29a8bdc Mon Sep 17 00:00:00 2001 From: SeaSide53 <125594629+SeaSide53@users.noreply.github.com> Date: Sat, 23 Mar 2024 15:16:21 +0100 Subject: [PATCH] typo --- docs/cheatsheet/manipulating-strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cheatsheet/manipulating-strings.md b/docs/cheatsheet/manipulating-strings.md index e3e06260..03c13fb6 100644 --- a/docs/cheatsheet/manipulating-strings.md +++ b/docs/cheatsheet/manipulating-strings.md @@ -295,7 +295,7 @@ An optional second argument to `rjust()` and `ljust()` will specify a fill chara ## The Count Method -Counts the number of occurences of a given character or substring in the string it is applied to. Can be optionally provided start and end index. +Counts the number of occurrences of a given character or substring in the string it is applied to. Can be optionally provided start and end index. ```python >>> sentence = 'one sheep two sheep three sheep four'