题目
题目

Programming with Python (032025-TST)

单项选择题

What does the `==` operator do in Python?

选项
A.a. Adds two numbers
B.b. Checks type
C.c. Assigns a value
D.d. Compares equality
查看解析

查看解析

标准答案
Please login to view
思路分析
Question restatement: What does the == operator do in Python? Option a: 'Adds two numbers' — This is incorrect. Addition is performed with the + operator, not ==, which is an equality comparison, not arithmetic. Option b: 'Checks type' — This is incorrect. The ty......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!