题目内容

Compared with news reports, feature articles()

A. must be timely
B. entertain only
C. are less perishable
D. are more factual

查看答案
更多问题

Among the following options, the wrong descriptions include ______()

A. The parameter name and the argument name of the function must be exactly the same
B. Assigning values to parameters in the function body will affect the values of the corresponding arguments
C. If the argument is a list object, you can modify the elements of the list object by the parameter in the function body
D. When there are multiple parameters, each parameter is separated by a comma

For the following function definition:def StudentInfo (name, country=’China’, age=18): print (‘%s, %s, %d’%(name, country, age))The correct function call include ______()

A. StudentInfo(‘David’, ‘United States’, 20)
B. StudentInfo(‘David’, , 20)
C. StudentInfo(‘David’, age=20)
D. StudentInfo(name=’David’, ‘United States’)

When executing the following program, it will output ______.def StudentInfo (country=’China’, name): print (‘% s, %s’% (name, country))StudentInfo (‘United States’, ‘David’)()

A. David, United States
B. United States, David
C. David, China
D. Report an error

When defining a function, that given in a pair of parentheses after the function name is called ______()

A. parameter
B. argument
C. type parameter
D. name parameter

答案查题题库