From 2fdf1df6b9870d8ddcce667dda3efdba2622084c Mon Sep 17 00:00:00 2001 From: muhammed rameez <31467986+mhmdrameez@users.noreply.github.com> Date: Tue, 8 Oct 2019 08:49:00 +0530 Subject: [PATCH] Update Lists.md --- Lists.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lists.md b/Lists.md index 143acb6..5019d30 100644 --- a/Lists.md +++ b/Lists.md @@ -98,8 +98,8 @@ IndexError: list index out of range [2, 3, 5, 7, 11] ``` -* when `start` and `stop` values are same -* Useful when they are generated programmatically, see [text processing exercise](./Exercises.md#text-processing) for example +* when `start` and `stop` values are same. +* Useful when they are generated programmatically, see [text processing exercise](./Exercises.md#text-processing) for example. ```bash >>> nums = [1.2, -0.2, 0, 2] @@ -549,7 +549,7 @@ odd_numbers: [3, 25, 21, 5, 9] even_numbers: [2, 12, 624, 12] ``` -* use `enumerate()` if both index and element is needed +* use `enumerate()` if both index and element are needed ```python #!/usr/bin/python3