From 9926b783dd868d22edd7917c46ca449309366cbb Mon Sep 17 00:00:00 2001
From: Vipul Kumar <kumar@onenetbeyond.org>
Date: Sun, 22 Aug 2021 15:47:54 +0530
Subject: [PATCH 1/3] [strings] Fix punctuations

---
 docs/strings.rst | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/strings.rst b/docs/strings.rst
index 00edca1..364d883 100644
--- a/docs/strings.rst
+++ b/docs/strings.rst
@@ -35,7 +35,7 @@ Now if you want to multiline strings you have to use triple single/double quotes
     write many lines
 
 
-We can have two string literals side by side, and it will behave like a single string. For example
+We can have two string literals side by side, and it will behave like a single string. For example:
 
 ::
 
@@ -95,7 +95,7 @@ Every string object is having couple of builtin methods available, we already sa
     >>> s.isalnum()
     True
 
-Because of the space in the first line *isalnum()* returned *False* , it checks for all characters are alpha numeric or not.
+Because of the space in the first line *isalnum()* returned *False*, it checks for all characters are alpha numeric or not.
 
 ::
 
@@ -123,7 +123,7 @@ Because of the space in the first line *isalnum()* returned *False* , it checks
     >>> s.isupper() # To check if characters are in upper case or not
     True
 
-To split any string we have *split()*. It takes a string as an argument , depending on that it will split the main string and returns a list containing splitted strings.
+To split any string we have *split()*. It takes a string as an argument, depending on that it will split the main string and returns a list containing splitted strings.
 
 ::
 
@@ -198,7 +198,7 @@ Palindrome are the kind of strings which are same from left or right whichever w
     else:
         print("The string is not a palindrome")
 
-The output
+The output:
 
 ::
 
@@ -212,7 +212,7 @@ The output
 Number of words
 ===============
 
-In this example we will count the number of words in a given line
+In this example we will count the number of words in a given line:
 
 ::
 
@@ -220,7 +220,7 @@ In this example we will count the number of words in a given line
     s = input("Enter a line: ")
     print("The number of words in the line are %d" % (len(s.split(" "))))
 
-The output
+The output:
 ::
 
     $ ./countwords.py

From 9b535372275297ce0dec8110411982b8d7cb4625 Mon Sep 17 00:00:00 2001
From: Vipul Kumar <kumar@onenetbeyond.org>
Date: Sun, 29 Aug 2021 18:31:18 +0530
Subject: [PATCH 2/3] [strings] Fix typo

Fix spell of "checks" (checkes -> checks).
---
 docs/strings.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/strings.rst b/docs/strings.rst
index 364d883..24226ad 100644
--- a/docs/strings.rst
+++ b/docs/strings.rst
@@ -106,7 +106,7 @@ Because of the space in the first line *isalnum()* returned *False*, it checks f
     >>> s.isalpha()
     False
 
-*isalpha()* checkes for only alphabets.
+*isalpha()* checks for only alphabets.
 
 ::
 

From 94b20325133bc0601908e3c51b2d44b5d0d7a471 Mon Sep 17 00:00:00 2001
From: Vipul Kumar <kumar@onenetbeyond.org>
Date: Sun, 29 Aug 2021 18:39:31 +0530
Subject: [PATCH 3/3] [strings] Improve wording of statement about split()

"splitted" is not a word, "split" itself is past participle of "split".
---
 docs/strings.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/strings.rst b/docs/strings.rst
index 24226ad..1b333d1 100644
--- a/docs/strings.rst
+++ b/docs/strings.rst
@@ -123,7 +123,7 @@ Because of the space in the first line *isalnum()* returned *False*, it checks f
     >>> s.isupper() # To check if characters are in upper case or not
     True
 
-To split any string we have *split()*. It takes a string as an argument, depending on that it will split the main string and returns a list containing splitted strings.
+To split any string we have *split()*. It takes a string as an argument, depending on that it will split the main string and returns a list of the words in the string.
 
 ::