diff --git a/guide/english/python/keywords/index.md b/guide/english/python/keywords/index.md index b9190250541..d5ac4dfd1a7 100644 --- a/guide/english/python/keywords/index.md +++ b/guide/english/python/keywords/index.md @@ -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'] +>>> +```