Good function documentation should:单项选择题

题目图片
A

a. Explain what each line of code does inside the function

B

b. Have a docstring describing the inputs and outputs of a function, and comments throughout explaining why and how the code works

C

c. Be as short as possible to minimise file size

D

d. Never be included in a function file, instead it should be in a separate documentation source online

登录即可查看完整答案

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

更多留学生实用工具

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