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 properlypull/22773/head^2
parent
a758619046
commit
cf44c7246d
|
@ -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']
|
||||
>>>
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue