打印 Python 的关键字

This commit is contained in:
YuCheng Hu 2021-03-08 22:35:59 -05:00
parent 3332910f62
commit a600e1f453
No known key found for this signature in database
GPG Key ID: 1E5CBEF8B550FB7D
1 changed files with 7 additions and 0 deletions

7
tests/Keywords.py Normal file
View File

@ -0,0 +1,7 @@
# Print Python keyword List.
# Author - https://www.ossez.com
import keyword
print(keyword.kwlist)
print(len(keyword.kwlist))