题目
题目
单项选择题

Question at position 10 Which of the following would be a legal function call for the given code below? def greet(labelSize, color): Label('Hi', 100, 100, fill=color, size=labelSize)greet(20, 60)greet(20, 'blue')greet('white', 40)greet('yellow', 'pink')

选项
A.greet(20, 60)
B.greet(20, 'blue')
C.greet('white', 40)
D.greet('yellow', 'pink')
查看解析

查看解析

标准答案
Please login to view
思路分析
The question asks which of the given function calls would be legal for the defined function greet(labelSize, color): Label('Hi', 100, 100, fill=color, size=labelSize). Option 1: greet(20, 60) — Here the first argument is 20 (a number), but the second argument is 60 (another number). Since the color paramet......Login to view full explanation

登录即可查看完整答案

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

更多留学生实用工具

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