题目
题目
单项选择题

Question at position 2 Which of the following lines of code has an error? Circle(200, 200, 50, fill='black', border=None)Rect(30, 30, 100, 200, fill=None)Polygon(100, 100, 100, 100, 100, 100)Line(10, 10, 100, lineWidth=101)

选项
A.Circle(200, 200, 50, fill='black', border=None)
B.Rect(30, 30, 100, 200, fill=None)
C.Polygon(100, 100, 100, 100, 100, 100)
D.Line(10, 10, 100, lineWidth=101)
查看解析

查看解析

标准答案
Please login to view
思路分析
Question: Which of the following lines of code has an error? Option A: Circle(200, 200, 50, fill='black', border=None) - This looks like a standard constructor call for a circle, with center coordinates (200, 200), radius 50, and optional styling parameters. The arguments appear to be in a typical, accepted form, so there is no obvious syntax or parameter-name issue here. This option seems correctly formed. Option B: Rect(30, 30, 100, 200, fill=None) - Here, a rectangle is cr......Login to view full explanation

登录即可查看完整答案

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

更多留学生实用工具

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