Which of the following statements correctly defines a function?单项选择题
A
functionName(parameterName1, parameterName2)
B
functionName(parameterName1, parameterName2) :
C
def functionName(parameterName1, parameterName2)
D
def functionName(parameterName1, parameterName2) :
登录即可查看完整答案
我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。
类似问题
The code that includes the keyword "def" is called a _____.
Which of the following statements correctly defines a function?
Question13 How do you define a function named calculate_average in Python? Select one alternative: def calculate_average(): define calculate_average(): function calculate_average(): def "calculate_average"(): ResetMaximum marks: 2 Flag question undefined
Function test() is to receive an string & a double as parameter and to return a int value. Which of the following is correct way of defining the function?
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!