首页试题详情
难度: 使用次数:138更新时间:2026/03/16
1.
Python2 中的 print 语句与 Python3 中的 print 函数有何区别?
A.Python2 中的 print 是函数,Python3 中的 print 是语句
B.Python2 中的 print 是语句,Python3 中的 print 是函数
C.两者没有区别
D.Python3 中的 print 不支持多个参数
题型:选择题 知识点:第一章 Python语言概述
【答案】
B
【解析】
在 Python2 中 print 是一个语句,而在 Python3 中 print 成为一个函数。

查看答案和解析

支付 ¥0.1 即可查看此题答案和详细解析

低至 ¥0.1 起

类题推荐:

未分类