From b918547c2461fd81bab817800847df128b766fb4 Mon Sep 17 00:00:00 2001
From: shilpi03 <44309468+shilpi03@users.noreply.github.com>
Date: Fri, 14 Dec 2018 04:19:23 +0530
Subject: [PATCH] keywords (reserve words ) in python (#25949)
---
guide/english/python/keywords/index.md | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/guide/english/python/keywords/index.md b/guide/english/python/keywords/index.md
index d5ac4dfd1a..36b954b448 100644
--- a/guide/english/python/keywords/index.md
+++ b/guide/english/python/keywords/index.md
@@ -3,7 +3,8 @@ title: Python Keywords
---
## Python Keywords
-Python has a list of keywords that cannot be used as identifiers (variable names). Trying to use any of these keywords as variables will create a Syntax Error and your Python script will not be run:
+Keywords are the reserved words present in all programming languages .Python has a list of
+keywords that cannot be used as function names or identifiers (variable names) .Python is a dynamic language , so the list of keywords may change in future. Currently, there are 33 keywords in Python 3.3 . Trying to use any of these keywords as variables will create a Syntax Error and your Python script will not run:
>>> False = "Hello campers!"
File ""
@@ -26,10 +27,6 @@ Keyword | - | - | - | -
`as` | `elif` | `if` | `or` | `yield`
`assert` | `else` | `import` | `pass`
`break` | `except` | `in` | `raise`
-#### To check keywords in python run the below
-```python
->>> import keyword
->>> print (keyword.kwlist)
-['False', 'None', 'True', 'and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']
->>>
-```
+
+
+All the keywords except `True` , `False` and `None` are in lowercase as shown above.