From 3b1352ce6641bb471ec4159de6b3b0aaabde5386 Mon Sep 17 00:00:00 2001 From: Sriram Velamur Date: Sun, 21 Jun 2020 00:17:49 +0530 Subject: [PATCH 1/2] Fixed typo for how [hot] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 21eff63..f43b12f 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Python 3. Boolean operators like or and adn in expressions. -### [Item 5: Know hot to slice sequences](item_05_slice_sequence.py) +### [Item 5: Know how to slice sequences](item_05_slice_sequence.py) - 1. Avoid being verbose: Don't supply 0 for the start index or the length of the sequence for the end index. - 2. Slicing is forgiving of start or end indexes that are out of bounds, From 639e39a3ec6061a6fa7dc72c5f321ea2c015ec27 Mon Sep 17 00:00:00 2001 From: Sriram Velamur Date: Sun, 21 Jun 2020 19:57:43 +0530 Subject: [PATCH 2/2] Additional typo fix for hot/how --- item_05_slice_sequence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/item_05_slice_sequence.py b/item_05_slice_sequence.py index 902b097..c6ee588 100644 --- a/item_05_slice_sequence.py +++ b/item_05_slice_sequence.py @@ -1,4 +1,4 @@ -# Item 5: Know hot to slice sequences +# Item 5: Know how to slice sequences # Python includes syntax for slicing sequences into pieces. Slicing lets you