Added steps to check keywords in python (#21511)

* Added steps to check keywords in 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']
>>>

* Format the text properly
pull/22773/head^2
Naveenkumar Mortha 2018-11-15 06:44:24 +05:30 committed by Christopher McCormack
parent a758619046
commit cf44c7246d
1 changed files with 7 additions and 0 deletions

View File

@ -26,3 +26,10 @@ 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']
>>>
```