以下哪个选项不是Python语言的保留字? (3.0分) A、 int B、 del C、 None D、 try
时间: 2023-12-07 12:05:00 浏览: 127
选项 A、int 不是 Python 语言的保留字。
在 Python 中,保留字是指被 Python 语言赋予特定含义的单词,这些单词不能用作变量名、函数名等标识符。Python 中的保留字有限,通常只有几十个。Python 保留字不区分大小写。
以下是 Python 3.9.0 版本的保留字列表:
```
False class finally is return
None continue for lambda try
True def from nonlocal while
and del global not with
as elif if or yield
assert else import pass
break except in raise
```
根据上述保留字列表,选项 B、del、选项 C、None、选项 D、try 都是 Python 中的保留字,而选项 A、int 不是 Python 中的保留字。
因此,本题的答案是选项 A、int。